Last updated 1 month ago
Namespace: FsToolkit.ErrorHandling
FsToolkit.ErrorHandling
Function Signature:
('a -> Task<'b>>) -> Task<'a> -> Task<'b>
Note: Many use-cases requiring bind operations can also be solved using .
bind
Continuing from the and given the function
let notifyFollowers : NotifyNewPostRequest -> Task<unit>
we can notify all followers using Task.bind as below:
Task.bind
newPostRequestResult |> Task.bind notifyFollowers
task