Function holochain::prelude::kitsune_p2p::dependencies::kitsune_p2p_types::dependencies::futures::task::waker_ref
pub fn waker_ref<W>(wake: &Arc<W, Global>) -> WakerRef<'_>where
W: ArcWake,
Expand description
Creates a reference to a Waker
from a reference to Arc<impl ArcWake>
.
The resulting Waker
will call
ArcWake.wake()
if awoken.