Skip to main content

Module task

Module task 

Source
Expand description

Deterministic task spawning: fixed-order scheduler under simulation.

Structs§

JoinHandle
An owned permission to join on a task (await its termination).

Functions§

spawn
Spawns a new asynchronous task, returning a JoinHandle for it.
spawn_local
Spawns a !Send future on the current LocalSet or LocalRuntime.
yield_now
Yields execution back to the Tokio runtime.