Lines Matching refs:lazy
3 use futures::future::{self, Future, lazy, poll_fn};
33 let fut = lazy(|_| { in run_until_single_future()
47 pool.run_until(lazy(|_| ())); in run_until_ignores_spawned()
55 spawn.spawn_local_obj(Box::pin(lazy(move |_| { in run_until_executes_spawned()
77 spawn.spawn_local_obj(Box::pin(lazy(move |_| { in run_executes_spawned()
78 spawn2.spawn_local_obj(Box::pin(lazy(move |_| { in run_executes_spawned()
100 spawn.spawn_local_obj(Box::pin(lazy(move |_| { in run_spawn_many()
129 spawn.spawn_local_obj(Box::pin(lazy(move |_| { in try_run_one_executes_one_ready()
192 inner_spawner.spawn_local_obj(Box::pin(lazy(move |_|{ in try_run_one_runs_sub_futures()
217 spawn.spawn_local_obj(Box::pin(lazy(move |_|{ cnt1.set(cnt1.get() + 1) })).into()).unwrap(); in run_until_stalled_returns_multiple_times()
222 spawn.spawn_local_obj(Box::pin(lazy(move |_|{ cnt2.set(cnt2.get() + 1) })).into()).unwrap(); in run_until_stalled_returns_multiple_times()
239 inner_spawner.spawn_local_obj(Box::pin(lazy(move |_|{ in run_until_stalled_runs_spawned_sub_futures()
265 spawn.spawn_local_obj(Box::pin(lazy(move |_| { in run_until_stalled_executes_all_ready()
284 spawn.spawn_obj(Box::pin(lazy(|_| { in nesting_run()
298 spawn.spawn_obj(Box::pin(lazy(|_| { in nesting_run_run_until_stalled()