Lines Matching refs:async
6 async fn sync_one_lit_expr_comma() { in sync_one_lit_expr_comma()
7 let foo = tokio::try_join!(async { ok(1) },); in sync_one_lit_expr_comma()
13 async fn sync_one_lit_expr_no_comma() { in sync_one_lit_expr_no_comma()
14 let foo = tokio::try_join!(async { ok(1) }); in sync_one_lit_expr_no_comma()
20 async fn sync_two_lit_expr_comma() { in sync_two_lit_expr_comma()
21 let foo = tokio::try_join!(async { ok(1) }, async { ok(2) },); in sync_two_lit_expr_comma()
27 async fn sync_two_lit_expr_no_comma() { in sync_two_lit_expr_no_comma()
28 let foo = tokio::try_join!(async { ok(1) }, async { ok(2) }); in sync_two_lit_expr_no_comma()
34 async fn two_await() { in two_await()
39 task::spawn(async { tokio::try_join!(async { rx1.await }, async { rx2.await }) }); in two_await()
55 async fn err_abort_early() { in err_abort_early()
60 let mut join = task::spawn(async { in err_abort_early()
61 tokio::try_join!(async { rx1.await }, async { rx2.await }, async { in err_abort_early()
85 let fut = async { in join_size()
91 let fut = async { in join_size()