-
Version Platform Description The repro is here. To see it, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If you return You likely want to do this by polling a |
Beta Was this translation helpful? Give feedback.
-
This worked, thanks! |
Beta Was this translation helpful? Give feedback.
If you return
Poll::Pending
, then that is a promise that you will send a wake-up notification to the waker in the provided context once you are ready to continue. It is not polled because you are not sending any wake-ups.You likely want to do this by polling a
Delay
, but you should note that just creating it is not enough. You have to actually poll it. Check out our async in depth guide for more information.