# LibTmux::Transport::Cancellation

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Transport.rakumod#L11
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-transport-cancellation/

One-shot cancellation shared by explicitly selected operations.

One-shot cancellation shared by explicitly selected operations.

## Members

### Other members

- [`cancel`](/en/raku/latest/reference/libtmux-transport-cancellation-cancel/) (method): Cancel all subscribed operations once; repeated calls have no further effect.
- [`cancelled`](/en/raku/latest/reference/libtmux-transport-cancellation-cancelled/) (method): Read cancellation state without I/O.
- [`clone`](/en/raku/latest/reference/libtmux-transport-cancellation-clone/) (method): Lifecycle owners cannot share mutable state through a shallow clone.
- [`when-cancelled`](/en/raku/latest/reference/libtmux-transport-cancellation-when-cancelled/) (method): Observe cancellation through a Promise which only this token can resolve.
