Module exocore_core::futures
source · Re-exports
pub use tokio;
Structs
- Wraps a stream to batch all available capped number of items.
- Result of
owned_spawn
orowned_future
function. - Collection of
OwnedSpawn
that allow keeping ownership over spawned futures and manage their completion.
Functions
- Run a future to completion on the current thread.
- Wraps a future that can be cancelled by dropping the
OwnedSpawn
handle. It is also possible to get the result of the spawned future by awaiting on the handle. - Spawns a future on current executor that can be cancelled by dropping the
OwnedSpawn
handle. It is also possible to get the result of the spawned future by awaiting on the handle. - Runs the provided closure on a thread where blocking is acceptable.