Skip to main content

Module task_handles

Module task_handles 

Source
Expand description

Task handle types for spawning and canceling shard-scoped jobs. Background task handles for shard-owned async work.

§Usage

Track spawned jobs in TaskHandles so they can be canceled together.

Structs§

TaskHandle
Handle pair for a spawned background task.
TaskHandles
Tracks multiple background tasks and aborts them on drop.

Type Aliases§

TaskRuntimeHandle
Platform-specific handle returned when spawning an asynchronous task.