Expand description
Asynchronous tasks executor.
Structs
An opaque ID that uniquely identifies a task relative to all other currently running tasks.
Task failed to execute to completion.
An owned permission to join on a task (await its termination).
NodeId
madsim
A unique identifier for a node.
Functions
Spawns a new asynchronous task, returning a JoinHandle
for it.
Runs the provided closure on a thread where blocking is acceptable.
Spawns a !Send
future on the local task set.
Yields execution back to the Tokio runtime.