Available on crate feature
async-task
only.Expand description
Integration with the async-task
crate.
This module provides a unified wrapper around the async-task
crate that can be used
by different executor implementations. It offers task spawning utilities and a
task wrapper that implements the Task
trait.
Structs§
- Async
Task - A task wrapper that implements the
Task
trait. - RawTask
- A spawned task.
- Runnable
- A handle to a runnable task.
Functions§
- spawn
- Spawn a future with a custom scheduler using
async_task
. - spawn_
local - Spawn a local (non-Send) future with a custom scheduler using
async_task
.