Last updated 4 months ago
Namespace: FsToolkit.ErrorHandling
FsToolkit.ErrorHandling
Function Signature:
Async<'a> option -> Async<'a option>
Note that sequence is the same as traverse id. See also .
sequence
traverse id
See also Scott Wlaschin's .
let a1 : Async<int option> = Option.sequenceAsync (Some (Async.singleton 42)) // async { return Some 42 } let a2 : Async<int option> = Option.sequenceAsync None // async { return None }