TmuxAsync
Awaits tasks in an async workflow without losing whether tmux may have acted.
Source and package
- Qualified name
-
LibTmux .FSharp. Tmux Async - Namespace
- LibTmux.FSharp
- Package
- LibTmux.FSharp
- Source
- src/LibTmux.FSharp/Library.fsi
-
Description
Async.AwaitTaskturns aTmuxOperationCanceledExceptioninto a bareTaskCanceledException, losingCommandMayHaveExecuted, and wraps a failure in anAggregateException. These raise a tmux client cancelled after it may have acted as itself, soTmuxFailure.MayHaveRunmatches it intry ... with; any other cancellation cancels the workflow, and a failure is raised as the task raised it.
Members2 members
- awaitTask Awaits a task that returns a value.
- awaitUnitTask Awaits a task that returns nothing.
Guides
task materialPages that discuss TmuxAsync.