The state of a task.
Static Properties
| Name | Description |
|---|---|
| CANCELLED | Task was cancelled (either before it ran or during execution |
| CANCELLING | Task was signalled to cancel but did not stop yet |
| COMPLETED | Task completed execution (successfully or with errors) |
| QUEUED | Task was queued and is waiting to be scheduled for execution |
| RUNNING | Task is running |
| WAITING | Task is waiting |