pub fn use_waker<T: Clone + 'static>() -> UseWaker<T> ⓘExpand description
A hook that provides a waker for other hooks to provide async/await capabilities.
This hook is a reactive wrapper over the Shared<T> future from the futures crate.
It allows multiple awaiters to wait on the same value, similar to a broadcast channel from Tokio.
Calling .await on the waker will consume the waker, so you’ll need to call .wait() on the
source to get a new waker.