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

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

```
method execute-async($command, :$incarnation = Incarnation, :$cancel = Cancellation,
    :$check = True, :$deadline = Instant --> Promise:D)
```

Queue one command and resolve its ordered acknowledgement; cancellation may close the connection.

Queue one command and resolve its ordered acknowledgement; cancellation may close the connection.

## Parameters

- `$command`
- `$incarnation?`
- `$cancel?`
- `$check?`
- `$deadline?`
