Module photonio_uring::task

source ·
Expand description

Primitives for asynchronous tasks.

This module is similar to std::thread, but for asynchronous tasks instead of threads.

Structs

A handle to await a task.
A handle to an asynchronous task.
A unique identifier for a task.

Functions

Spawns a task onto the current runtime.
Yields execution back to the current runtime.

Type Definitions

A specialized Result type for threads.