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