Enum WorkStatus
- Namespace
- DotCompute.Abstractions.Types
- Assembly
- DotCompute.Abstractions.dll
Defines the status of a work item in the execution pipeline. Used for tracking work items through the execution lifecycle.
public enum WorkStatus
Fields
Cancelled = 5Work item was cancelled before or during execution.
Completed = 3Work item has completed successfully.
Executing = 2Work item is currently executing.
Failed = 4Work item execution failed with an error.
Pending = 0Work item has been created but not yet queued.
Queued = 1Work item is queued and waiting for execution.
Retrying = 7Work item is being retried after a failure.
Suspended = 8Work item is suspended and waiting for resources.
TimedOut = 6Work item timed out during execution.