# Libtmux_eio.Operation.cancel

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

```
val cancel : 'a t -> (unit, Libtmux.Error.t) result
```

Remove unsent work. A written request remains owned and drained by the client.

## Parameters

- `arg1` (`'a t`)
