# libtmux:cancel

- **Package:** libtmux
- **Language:** Common Lisp
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-lisp/blob/c2e5fc4ed3befda21f45dfa5d5868c38fd138311/src/transport.lisp#L87
- **Public owner:** libtmux
- **Page:** https://libtmux.org/en/lisp/latest/reference/libtmux-cancel/

```
(cancel token)
```

Cancel registered operations and return true only for the first request.
Cancellation wakes each active owner. It does not wait for completion or undo
a mutation. Inspect the operation's outcome and dispatch phase.

## Parameters

- `token`

## Guides

Pages that discuss `cancel`.

- [Transport and cleanup](/en/lisp/latest/concepts/transport/)
