Operators
JobResult Infix Operators
Examples:
Example 1
notifyFollowers : NotifyNewPostRequest -> Job<Result<unit, exn>>open FsToolkit.ErrorHandling.Operator.JobResult
// CreatePostRequest -> Job<Result<unit, exn>>
let createPostAndNotifyFollowers (req : CreatePostRequest) =
notifyNewPostRequest
<!> (getFollowerIds req.UserId)
<*> (createPost req)
>>= notifyFollowersLast updated