Core Library0.xAPI Reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

class libtmux-raku latest

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
Anonymous class

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.
Esc

Type to search.

Reference previewOpen reference