Cancellation.with_
Own a cancellation token for the callback's lifetime. Leaving the scope cancels outstanding waiters and releases its descriptors after they finish. An escaped token is cancelled and cannot be reused.
Source and package
- Qualified name
-
Libtmux_unix .Cancellation. with_ - Module
- Libtmux_unix
- Declared in
Cancellation- Package
- libtmux-unix
- Source
- unix/libtmux_unix.mli
- val with_ : (t -> 'a) -> 'a
-
Public owner:
Libtmux_unix
Guides#
Pages that discuss with_.