Operation.await/2
Waits for a canonical result under one positive millisecond timeout.
Source and package
- Qualified name
-
LibTmux .Operation .await/2 - Module
- LibTmux
- Declared in
- Operation
- Package
- libtmux
- Source
- lib/libtmux/operation.ex
-
Description#
The default is 5000ms. Every call claims an independent bounded waiter slot, including terminal operations; use
result/1for immediate inspection. Completed waiter copies survive record reclamation until this caller reads them. Timeout, overload and caller death affect only this waiter.See the worked example.
Discussed in Read values, execute explicitly · Execution ownership