Lines Matching full:async
16 async fn sync_one_lit_expr_comma() { in sync_one_lit_expr_comma()
17 let foo = tokio::try_join!(async { ok(1) },); in sync_one_lit_expr_comma()
23 async fn sync_one_lit_expr_no_comma() { in sync_one_lit_expr_no_comma()
24 let foo = tokio::try_join!(async { ok(1) }); in sync_one_lit_expr_no_comma()
30 async fn sync_two_lit_expr_comma() { in sync_two_lit_expr_comma()
31 let foo = tokio::try_join!(async { ok(1) }, async { ok(2) },); in sync_two_lit_expr_comma()
37 async fn sync_two_lit_expr_no_comma() { in sync_two_lit_expr_no_comma()
38 let foo = tokio::try_join!(async { ok(1) }, async { ok(2) }); in sync_two_lit_expr_no_comma()
44 async fn two_await() { in two_await()
49 task::spawn(async { tokio::try_join!(async { rx1.await }, async { rx2.await }) }); in two_await()
65 async fn err_abort_early() { in err_abort_early()
70 let mut join = task::spawn(async { in err_abort_early()
71 tokio::try_join!(async { rx1.await }, async { rx2.await }, async { in err_abort_early()
96 let fut = async { in join_size()
102 let fut = async { in join_size()
114 async fn non_cooperative_task(permits: Arc<Semaphore>) -> Result<usize, String> { in non_cooperative_task()
129 async fn poor_little_task(permits: Arc<Semaphore>) -> Result<usize, String> { in poor_little_task()
142 async fn try_join_does_not_allow_tasks_to_starve() { in try_join_does_not_allow_tasks_to_starve()
158 async fn a_different_future_is_polled_first_every_time_poll_fn_is_polled() { in a_different_future_is_polled_first_every_time_poll_fn_is_polled()
161 let fut = |x, poll_order: Arc<std::sync::Mutex<Vec<i32>>>| async move { in a_different_future_is_polled_first_every_time_poll_fn_is_polled()