Namespace: FsToolkit.ErrorHandling
FsToolkit.ErrorHandling
Function Signature:
('a -> Async<Result<'b,'c>>) -> 'a seq -> Async<Result<'b seq, 'c>>
Note that traverse is the same as map >> sequence. See also Seq.sequenceAsyncResultM.
traverse
map >> sequence
This is monadic, stopping on the first error.
This is the same as traverseResultM except that it uses Async<Result<_,_>> instead of Result<_,_>.
Async<Result<_,_>>
Result<_,_>
See also Scott Wlaschin's Understanding traverse and sequencearrow-up-right.
Last updated 1 year ago