map3
('a -> 'b -> 'c -> 'd) -> Job<'a> -> Job<'b> -> Job<'c> -> Job<'d>Examples
Example 1
getFollowerIds : UserId -> Job<UserId list>
createPost : CreatePostRequest -> Job<PostId>
getTimestamp : unit -> Job<DateTimeOffset>let makeNotification userIds postId timestamp =
{ UserIds = userIds; PostId = postId; CreatedAt = timestamp }// Job<Notification>
Job.map3
makeNotification
(getFollowerIds req.UserId)
(createPost req)
(getTimestamp ())Last updated