map2
Task.map2
('a -> 'b -> 'c) -> Task<'a> -> Task<'b> -> Task<'c>Examples
Example 1
getFollowerIds : UserId -> Task<UserId list>
createPost : CreatePostRequest -> Task<PostId>type NotifyNewPostRequest =
{ UserIds : UserId list
NewPostId : PostId }
static member Create userIds newPostsId =
{UserIds = userIds; NewPostId = newPostsId}Last updated