Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. This site's structure and URLs may change too.

Perl API

method libtmux-perl latest

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
sub run($self, $executor, $done, $fail)

Description#

The synchronous LibTmux::Server and optional async distribution use the same preparation, codecs, and graph semantics. Core has no Future dependency.

Methods#

Parameters
Esc

Type to search.

Reference previewOpen reference