[−][src]Function futures_task::noop_waker
pub fn noop_waker() -> Waker
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();
pub fn noop_waker() -> Waker
Create a new [Waker
] which does
nothing when wake()
is called on it.
use futures::task::noop_waker; let waker = noop_waker(); waker.wake();