-
Notifications
You must be signed in to change notification settings - Fork 30
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
Function to get the current waker in an async fn #8
Comments
slightly more contentious bonus:
|
I've wanted Regarding |
AIUI, yield_now() reschedules the current future? Delay is for when you don't want to do that (because you're messing with wakers) |
I went and looked, and yes, that's the essential difference - with |
These have now made it into futures-micro as 'waker' and 'sleep'. You might also like to steal |
See this comment. I don't think we should add this; it's a bit niche. |
Not sure about the name, but I just found a use for this and it's incredibly small. Maybe you have a better idea for a name?
The text was updated successfully, but these errors were encountered: