function libtmux-fsharp latest
Control.iter
Namespace LibTmux.FSharp.Control.iter
LibTmux.FSharp Awaits one handler at a time for each item until the stream ends.
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 iter: cancellationToken: Cancellation
Token -> handler: ('T -> Task) -> source: IAsyncEnumerable <'T> -> Task<unit> -
Description#
The helper disposes its enumerator but leaves the control client open.
- Parameters
-
-
cancellationToken ( Cancellation
Token ) -
handler ( ('T -> Task) )
-
source ( IAsync
Enumerable <'T> )
-
Discussed in Execution modes , Streams and cleanup