TaskState enumeration
Represents the lifecycle state of a KestrunTask.
public enum TaskState
Values
| name | value | description |
|---|---|---|
| NotStarted | 0 | Task has been created but not yet started. |
| Running | 1 | Task is currently running. |
| Completed | 2 | Task has completed successfully. |
| Failed | 3 | Task has failed with an error. |
| Stopped | 4 | Task was stopped. |
| Stopping | 5 | Task is in the process of stopping. |
See Also
- namespace Kestrun.Tasks