Lines Matching refs:async_task
10 use async_task::Runnable;
101 let (runnable, task) = async_task::spawn(f, s); in drop_and_join()
120 let (runnable, task) = async_task::spawn(f, s); in run_and_join()
139 let (runnable, task) = async_task::spawn(f, s); in detach_and_run()
158 let (runnable, mut task) = async_task::spawn(f, s); in join_twice()
187 let (runnable, task) = async_task::spawn(f, s); in join_and_cancel()
218 let (runnable, task) = async_task::spawn(f, s); in join_and_run()
249 let (runnable, mut task) = async_task::spawn(f, s); in try_join_and_run_and_join()
287 let (runnable, mut task) = async_task::spawn(f, s); in try_join_and_cancel_and_run()
321 let (runnable, mut task) = async_task::spawn(f, s); in try_join_and_run_and_cancel()
372 let (runnable, task) = async_task::spawn(Fut::new(i), drop); in await_output()
378 let (runnable, task) = async_task::spawn(Fut::new(vec![7; i]), drop); in await_output()
383 let (runnable, task) = async_task::spawn(Fut::new("foo".to_string()), drop); in await_output()