# LibTmux::Control::Connection.observe-async

- **Module:** LibTmux::Control
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Control/Connection.rakumod#L465
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-control-connection-observe-async/

```
method observe-async(:$deadline = Instant, :$cancel = Cancellation --> Promise:D)
```

Verify daemon identity through a queued barrier and resolve the captured observation.

Verify daemon identity through a queued barrier and resolve the captured observation.

## Parameters

- `$deadline?`
- `$cancel?`

## tmux command

The tmux commands behind `observe-async`.

- [`display-message`](/en/tmux/latest/manual/display-message/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_display_message_entry`](/en/tmux/latest/reference/c-variable-cmd_display_message_entry/) (attribute)
- [`cmd_display_message_exec`](/en/tmux/latest/reference/c-function-cmd-display-message-c-cmd_display_message_exec/) (function)
