Expand description
Defines the core Task abstraction and related components.
This module provides the fundamental building blocks for defining and managing
units of work within the system. It includes the Task struct itself, which
wraps a user’s function, and the TaskHandle, which is returned to the user
to get the final result.
Structs§
- Task
- An internal representation of a unit of work.
- Task
Handle - A handle to a task that has been submitted to the system.
- TaskId
- A unique identifier for a
Task.
Enums§
- Priority
- Defines the priority level of a task.
- Task
Error - Represents errors that can occur during a task’s execution.
- Task
Execution Outcome - An internal enum representing the outcome of a task’s execution.