async_task
pub fn waker_fn<F: Fn() + Send + Sync + 'static>(f: F) -> Waker
Creates a waker from a wake function.
The function gets called every time the waker is woken.