Lines Matching refs:async_task
6 use async_task::Runnable;
82 let (runnable, task) = async_task::spawn(f, s); in drop_and_detach()
106 let (runnable, task) = async_task::spawn(f, s); in detach_and_drop()
125 let (runnable, task) = async_task::spawn(f, s); in detach_and_run()
144 let (runnable, task) = async_task::spawn(f, s); in run_and_detach()
163 let (runnable, task) = async_task::spawn(f, s); in cancel_and_run()
182 let (runnable, task) = async_task::spawn(f, s); in run_and_cancel()
201 let (runnable, mut task) = async_task::spawn(f, s); in cancel_join()
232 let (runnable, _task) = async_task::spawn(future::poll_fn(|_| Poll::<()>::Pending), schedule); in schedule()
257 let (runnable, _task) = async_task::spawn(future::poll_fn(|_| Poll::<()>::Pending), schedule); in schedule_counter()
276 let (runnable, _) = async_task::spawn(async {}, move |runnable| { in drop_inside_schedule()
288 let (runnable, _task) = async_task::spawn(future::poll_fn(|_| Poll::<()>::Pending), schedule); in waker()