July 2018
Intermediate to advanced
266 pages
7h 11m
English
As we have already seen, a job has many different states, so it's important to know how to determine its current state as its external observers.
A job has three properties that can help with this; they're as listed:
These properties can be easily mapped with the list of states given earlier:
|
State |
isActive | isCompleted | isCancelled |
| Created | false | false | false |
| Active | true | false | false |
| Cancelling | false | false | true |
| Cancelled | false | true | true ... |
Read now
Unlock full access