bindV
Task.bindV
Namespace: FsToolkit.ErrorHandling
Like Task.bind, but taking a ValueTask<'a>
as input
Function Signature:
Examples
Note: Many use-cases requiring bind
operations can also be solved using the task
computation expression.
Example 1
Continuing from the [Task.map2 example](../task/map2.md#example-1 and given the function
and assuming newPostRequestResult
has type ValueTask<NotifyNewPostRequest>
we can notify all followers using Task.bindV
as below:
Last updated