ignore
Last updated
Namespace: FsToolkit.ErrorHandling
This is a shortcut for Result.map ignore.
Result<'a, 'b> -> Result<unit, 'b>let savePost : CreatePostRequest -> Result<PostId, exn>We can call this with the do! syntax inside a computation expression using Result.ignore as below:
let makePost = result {
do! savePost createPostRequest |> Result.ignore
}Last updated