Function futures_task::waker
source ยท pub fn waker<W>(wake: Arc<W>) -> Wakerwhere
W: ArcWake + 'static,
Expand description
Creates a Waker
from an Arc<impl ArcWake>
.
The returned Waker
will call
ArcWake.wake()
if awoken.
pub fn waker<W>(wake: Arc<W>) -> Wakerwhere
W: ArcWake + 'static,
Creates a Waker
from an Arc<impl ArcWake>
.
The returned Waker
will call
ArcWake.wake()
if awoken.