Transport.Cancellation
One-shot cancellation shared by explicitly selected operations.
Source and package
- Qualified name
-
LibTmux:: Transport:: Cancellation - Module
- LibTmux
- Declared in
Transport- Package
- LibTmux
- Source
- lib/LibTmux/Transport.rakumod
-
Description#
One-shot cancellation shared by explicitly selected operations.
Members4#
- cancel method Cancel all subscribed operations once; repeated calls have no further effect.
- cancelled method Read cancellation state without I/O.
- clone method Lifecycle owners cannot share mutable state through a shallow clone.
- when-cancelled method Observe cancellation through a Promise which only this token can resolve.