map2

CancellableTaskValidation.map2

Namespace: FsToolkit.ErrorHandling

Function Signature:

('a -> 'b -> 'c)
  -> CancellableTask<Result<'a, 'd list>>
  -> CancellableTask<Result<'b, 'd list>>
  -> CancellableTask<Result<'c, 'd list>>

Like Result.map2, but collects the errors from both arguments.

Examples

Last updated