futures_task

Function noop_waker

Source
pub fn noop_waker() -> Waker
Expand description

Create a new Waker which does nothing when wake() is called on it.

ยงExamples

use futures::task::noop_waker;
let waker = noop_waker();
waker.wake();