Crate futures_spawn

Source
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
SpawnHandle
The type of future returned from the Spawn::spawn function, which proxies the futures running on the thread pool.
Spawned
Contains a future that was spawned

Traits§

Spawn
Value that can spawn a future
SpawnHelper
Additional strategies for spawning a future.