Core LibraryAPI Reference

Choose documentation 1

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

function libtmux-fsharp latest

Control.useSession

Namespace LibTmux.FSharp.Control.useSession LibTmux.FSharp

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

View as Markdown

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

Description#

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

Parameters

Discussed in Execution modes , Streams and cleanup

Esc

Type to search.