Enumeration
TaskState
The state of a task.
In UXP, compare with equals() — the == and === operators do not work on DOM objects: myPath.pathType.equals(PathType.CLOSED_PATH), not myPath.pathType == PathType.CLOSED_PATH.
Values
| Name | Type | Access | Description |
|---|---|---|---|
| Number = 1700029292 | readonly | Task was cancelled (either before it ran or during execution | |
| Number = 1700029281 | readonly | Task was signalled to cancel but did not stop yet | |
| Number = 1700029296 | readonly | Task completed execution (successfully or with errors) | |
| Number = 1699837285 | readonly | Task was queued and is waiting to be scheduled for execution | |
| Number = 1700033141 | readonly | Task is running | |
| Number = 1700225396 | readonly | Task is waiting |
Object of 1
Properties elsewhere that hold an TaskState value.
Return 2
Methods that return an TaskState value.