-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add the once_future() combinator #59
Conversation
Why does this add both freestanding function and method? |
I assumed that was the status quo for |
I guess it is only happening with methods that take two or more futures/streams. (e.g., catch_unwind is trait method only) |
It seems you have removed the trait method, but I have the impression that |
You're right. How would you feel about just the name |
Maybe That said, I have no strong opinion on this as I tend to prefer the |
@smol-rs/admins: Any thoughts on the API here? |
I agree with you about the naming. |
I like the idea of |
Yes, the idea is to give the user the ability to turn a |
this should be squash-merged. |
Resolves #52