Operation.run
run($executor, $on_done, $on_fail) supplies requests and two one-argument completion callbacks to the executor. The executor returns a cancellation hook. run returns a cancellation coderef suppressing further submissions. Each request settles once; the complete operation yields one value or error.
Source and package
- Qualified name
-
LibTmux:: Operation:: run - Module
- LibTmux
- Declared in
Operation- Package
- LibTmux
- Source
- packages/core/lib/LibTmux/Operation.pm
-
Description#
The synchronous
LibTmux::Serverand optional async distribution use the same preparation, codecs, and graph semantics. Core has no Future dependency.Methods#