Expand description
An abstraction for spawning futures
futures-rs provides a task abstraction and the ability for custom executors to manage how future execution is scheduled across them.
futures-spawn provides an abstraction representing the act of spawning a
future. This enables writing code that is not hard coded to a specific
executor.
Structs§
- NewThread
- Spawn all futures on a new thread
- Spawn
Handle - The type of future returned from the
Spawn::spawnfunction, which proxies the futures running on the thread pool. - Spawned
- Contains a future that was spawned
Traits§
- Spawn
- Value that can spawn a future
- Spawn
Helper - Additional strategies for spawning a future.