Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

F# API

module libtmux-fsharp

TmuxAsync

Awaits tasks in an async workflow without losing whether tmux may have acted.

Source and package
Qualified name
LibTmux.FSharp.TmuxAsync
Namespace
LibTmux.FSharp
Package
LibTmux.FSharp
Source
src/LibTmux.FSharp/Library.fsi

Description

Async.AwaitTask turns a TmuxOperationCanceledException into a bare TaskCanceledException, losing CommandMayHaveExecuted, and wraps a failure in an AggregateException. These raise a tmux client cancelled after it may have acted as itself, so TmuxFailure.MayHaveRun matches it in try ... with; any other cancellation cancels the workflow, and a failure is raised as the task raised it.

Members2 members

Guides

task material

Pages that discuss TmuxAsync.

Esc
Search in

Type to search.

Reference previewOpen reference