Operation
Executor-independent prepared command continuations
Source and package
- Qualified name
-
LibTmux:: Operation - Module
- LibTmux
- Package
- LibTmux
- Source
- packages/core/lib/LibTmux/Operation.pm
- package Lib
Tmux:: ;Operation
Members6#
- catch method Recover a failure with one value or another Operation.
- request method
request(argv => [...], stdin => $octets, ...)owns its input arguments. Execution is explicit through"run"; preparation performs no I/O. - run method
run($executor, $on_done, $on_fail)supplies requests and two one-argument completion callbacks to the executor. The executor returns a cancellation hook.runreturns a cancellation coderef suppressing further submissions. Each request settles once; the complete operation yields one value or error. - sequence method Execute an array of Operations in order, returning one arrayref of results.
- then method Compose a local transformation returning one value or another Operation. Exceptions retain their original identity.
- value method Wrap one local value, including undef for a documented void operation.