Tracking issue for Waker::from_fn_ptr (original) (raw)
Feature gate: #![feature(waker_from_fn_ptr)]
Public API
// core::task
impl Waker { pub const fn from_fn_ptr(f: fn()) -> Self; }
impl LocalWaker { pub const fn from_fn_ptr(f: fn()) -> Self; }
Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
- Implementation: feat: add from_fn_ptr to Waker and LocalWaker #146057
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.