Expand description
Utilities for working with asynchronous tasks.
Functions§
- spawn
- Spawns a thread-safe
Future. - spawn_
local - Spawns a
Futurethat cannot be sent across threads. - spawn_
local_ scoped - Calls
Executor::spawn_local, but ensures that the task runs under the current reactiveOwnerand observer. - spawn_
local_ scoped_ with_ cancellation - Calls
Executor::spawn_local, but ensures that the task runs under the current reactiveOwnerand observer. - tick
- Waits until the next “tick” of the current async executor.