Skip to content

Commit

Permalink
Correct wrong type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamil Maqdis Anton committed Nov 30, 2020
1 parent 8fe4ff1 commit 29f9c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AsyncOption.fs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ module AsyncOptionCEExtensions =
type AsyncOptionBuilder with
member inline _.Source(asyncOp: Async<'a>): AsyncOption<'a> = AsyncOption.ofAsync asyncOp

member inline _.Source(result: Result<'a, 'e>): AsyncOption<'a> = AsyncOption.ofResult result
member inline _.Source(option: 'a option): AsyncOption<'a> = AsyncOption.ofOption option

member inline _.Source(task: Task<'a>): AsyncOption<'a> = AsyncOption.ofTask (fun () -> task)

Expand Down

0 comments on commit 29f9c8e

Please sign in to comment.