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.
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: (IControl
Mode -> Task<'State>) -> session: IControlSession Mode -> Task<'State>Session -
Description#
The work function receives the client and must forward its own cancellation token.
- Parameters
-
-
work ( (IControl
Mode -> Task<'State>) )Session -
session ( IControl
Mode )Session
-
Discussed in Execution modes , Streams and cleanup