NovelIO


Parallel

Namespace: NovelFS.NovelIO
Parent Module: IO

Parallel IO combinators

Functions and values

Function or valueDescription
iterSequence(ios)
Signature: ios:IO<'?7452> list -> IO<unit>
Type parameters: '?7452

Executes the given IO actions in parallel and ignores the result.

sequence(ios)
Signature: ios:IO<'a> list -> IO<'a list>
Type parameters: 'a

Executes the given IO actions in parallel.

traverse(f sequ)
Signature: f:('a -> IO<'b>) -> sequ:'a list -> IO<'b list>
Type parameters: 'a, 'b

Map each element in a list to a monadic action and then run all of those monadic actions in parallel.

Fork me on GitHub