Operators
Namespace:
FsToolkit.ErrorHandling.Operator.AsyncResultOption
FsToolkit.ErrorHandling provides the standard infix operators for the
map
(<!>
), apply
(<*>
), and bind
(>>=
) functions of the Result<Option<_>,_>
type.open FsToolkit.ErrorHandling.Operator.AsyncResult
// Async<Result<UserTweet option, Exception>>
userTweet
<!> (getPostById samplePostId)
<*> (getUserById sampleUserId)
Last modified 1yr ago