Closed
Description
This is a tracking issue for the std::{future, task}
RFC 2592 under the feature gate futures_api
.
Steps:
- Implement the RFC (Update the future/task API #57992)
- Migrate
futures-preview
and some existing uses of it (Fuchsia) to the latest unstable API to ensure compatibility. - Make
RawWakerVTable
fields private and add aconst fn
constructor. - Stabilization PR (see instructions on forge)
Unresolved questions from FCP:
- Should
Future::poll
take&Waker
or a&Context
from which an&Waker
can be obtained?
Metadata
Metadata
Assignees
Labels
Area: Async & AwaitBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC and implemented but not stabilized.Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFCRelevant to the language team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.