Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable asyncOption CE to bind Async<'a> #117

Closed
cmeeren opened this issue Mar 4, 2021 · 1 comment
Closed

Enable asyncOption CE to bind Async<'a> #117

cmeeren opened this issue Mar 4, 2021 · 1 comment
Labels
good first issue Good for newcomers

Comments

@cmeeren
Copy link
Contributor

cmeeren commented Mar 4, 2021

Currently it can be annoying to use asyncOption because I have to append |> Async.map Some everywhere I bind a computation that does not return Async<'a option> but just Async<'a>.

It would be great if the Bind and ReturnFrom members were overloaded to accept a plain Async<'a>. (These must be extension members to avoid overload resolution problems.)

@TheAngryByrd
Copy link
Collaborator

Closed via #132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants