You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fundamental rule of implementing a future is "never return Pending without saving the waker". If the second poll returns Pending, then the latest waker must have been saved. An out-of-date waker is necessarily one that the future is no longer interested in, since it didn't poll it since (potentially) acquiring a new waker.
consider these events:
the second wake_by_ref will be dropped on the floor. Is this a problem? Can real futures do this? Is this supported by existing runtimes?
The text was updated successfully, but these errors were encountered: