map
TaskResultOption.map
Namespace: FsToolkit.ErrorHandling
Function Signature:
Examples
Note: Many use-cases requiring map
operations can also be solved using the taskResultOption
computation expression.
Example 1
Given the function
Then using the TaskResultOption.map
we can get the name of the user like this:
Last updated