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

function libtmux-fsharp

Control.useSession

Runs work with an owned control client and disposes it after the returned task completes.

Source and package
Qualified name
LibTmux.FSharp.Control.useSession
Namespace
LibTmux.FSharp
Declared in
Control
Package
LibTmux.FSharp
Source
src/LibTmux.FSharp/Control.fsi
F# value signaturesDeclares the name and type of a value or function in a signature.Language documentation useSession: work: (IControlModeSession -> Task<'State>) -> session: IControlModeSession -> Task<'State>

Description

The work function receives the client and must forward its own cancellation token.

Recorded calls

source calls
No call edges in the F# model.

The F# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.FSharp.Control.useSession.

Guides

task material

Pages that discuss useSession.

Esc
Search in

Type to search.

Reference previewOpen reference