traverseTaskResultM
List.traverseTaskResultM
Namespace: FsToolkit.ErrorHandling
Function Signature:
Note that traverse
is the same as map >> sequence
. See also List.sequenceTaskResultM.
This is monadic, stopping on the first error.
This is the same as traverseResultM except that it uses Task<Result<_,_>>
instead of Result<_,_>
.
See also Scott Wlaschin's Understanding traverse and sequence.
Examples
Last updated