Lines Matching refs:async
10 async fn spawn_with_name() { in spawn_with_name()
13 .spawn(async { "task executed" }) in spawn_with_name()
20 async fn spawn_blocking_with_name() { in spawn_blocking_with_name()
30 async fn spawn_local_with_name() { in spawn_local_with_name()
33 .run_until(async move { in spawn_local_with_name()
36 .spawn_local(async move { unsend_data }) in spawn_local_with_name()
45 async fn spawn_without_name() { in spawn_without_name()
46 let result = Builder::new().spawn(async { "task executed" }).await; in spawn_without_name()
52 async fn spawn_blocking_without_name() { in spawn_blocking_without_name()
59 async fn spawn_local_without_name() { in spawn_local_without_name()
62 .run_until(async move { Builder::new().spawn_local(async move { unsend_data }).await }) in spawn_local_without_name()