Skip to main content

Module task_handle

Module task_handle 

Source
Expand description

TaskHandle for awaiting spawned task results.

TaskHandle<T> is returned by spawn operations and allows the spawner to await the task’s result. Similar to join handles in other runtimes.

Structs§

JoinFuture
Future returned by TaskHandle::join.
TaskHandle
A handle to a spawned task that can be used to await its result.

Enums§

JoinError
Error returned when joining a spawned task fails.