[][src]Function std::future::set_task_waker

pub fn set_task_waker<F, R>(waker: &Waker, f: F) -> R where
    F: FnOnce() -> R, 
🔬 This is a nightly-only experimental API. (gen_future #50547)

Sets the thread-local task context used by async/await futures.