# Libtmux_eio.Client.await

- **Module:** Libtmux_eio
- **Package:** libtmux-eio
- **Language:** OCaml
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/eio/libtmux_eio.mli#L200
- **Public owner:** Libtmux_eio
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux_eio-client-await/

```
val await : 'a Operation.t -> ('a, Libtmux.Error.t) result
```

Cancellation propagates as Eio cancellation. Store the handle outside the cancelled fiber: the client drains written work independently, and the eventual result remains inspectable.

## Parameters

- `arg1` (`'a Operation.t`)

## Guides

Pages that discuss `await`.

- [Measure capture, concurrency and output delivery](/en/ocaml/latest/guides/benchmarking/)
