# Libtmux_eio.Client.submit

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

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

Validate and reserve bounded capacity without I/O. Return `Error Libtmux.Error.Closed` once [`close`](/en/ocaml/latest/reference/libtmux_eio-client-close/) starts.

## Parameters

- `arg1` (`t`)
- `arg2` (`'a Libtmux.Command.t`)

## Guides

Pages that discuss `submit`.

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