You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* `true` if any current task instances are running.
38
+
*
39
+
* @memberof TaskGroup
40
+
* @member {boolean} isRunning
41
+
* @instance
42
+
* @readOnly
43
+
*/
44
+
45
+
/**
46
+
* `true` if any future task instances are queued.
47
+
*
48
+
* @memberof TaskGroup
49
+
* @member {boolean} isQueued
50
+
* @instance
51
+
* @readOnly
52
+
*/
53
+
54
+
/**
55
+
* `true` if the task group is not in the running or queued state.
56
+
*
57
+
* @memberof TaskGroup
58
+
* @member {boolean} isIdle
59
+
* @instance
60
+
* @readOnly
61
+
*/
62
+
63
+
/**
64
+
* The current state of the task group: `"running"`, `"queued"` or `"idle"`.
65
+
*
66
+
* @memberof TaskGroup
67
+
* @member {string} state
68
+
* @instance
69
+
* @readOnly
70
+
*/
71
+
72
+
/**
73
+
* The most recently started task instance.
74
+
*
75
+
* @memberof TaskGroup
76
+
* @member {TaskInstance} last
77
+
* @instance
78
+
* @readOnly
79
+
*/
80
+
81
+
/**
82
+
* The most recent task instance that is currently running.
83
+
*
84
+
* @memberof TaskGroup
85
+
* @member {TaskInstance} lastRunning
86
+
* @instance
87
+
* @readOnly
88
+
*/
89
+
90
+
/**
91
+
* The most recently performed task instance.
92
+
*
93
+
* @memberof TaskGroup
94
+
* @member {TaskInstance} lastPerformed
95
+
* @instance
96
+
* @readOnly
97
+
*/
98
+
99
+
/**
100
+
* The most recent task instance that succeeded.
101
+
*
102
+
* @memberof TaskGroup
103
+
* @member {TaskInstance} lastSuccessful
104
+
* @instance
105
+
* @readOnly
106
+
*/
107
+
108
+
/**
109
+
* The most recently completed task instance.
110
+
*
111
+
* @memberof TaskGroup
112
+
* @member {TaskInstance} lastComplete
113
+
* @instance
114
+
* @readOnly
115
+
*/
116
+
117
+
/**
118
+
* The most recent task instance that errored.
119
+
*
120
+
* @memberof TaskGroup
121
+
* @member {TaskInstance} lastErrored
122
+
* @instance
123
+
* @readOnly
124
+
*/
125
+
126
+
/**
127
+
* The most recently canceled task instance.
128
+
*
129
+
* @memberof TaskGroup
130
+
* @member {TaskInstance} lastCanceled
131
+
* @instance
132
+
* @readOnly
133
+
*/
134
+
135
+
/**
136
+
* The most recent task instance that is incomplete.
137
+
*
138
+
* @memberof TaskGroup
139
+
* @member {TaskInstance} lastIncomplete
140
+
* @instance
141
+
* @readOnly
142
+
*/
143
+
144
+
/**
145
+
* The number of times this task group has been performed.
146
+
*
147
+
* @memberof TaskGroup
148
+
* @member {number} performCount
149
+
* @instance
150
+
* @readOnly
151
+
*/
152
+
153
+
/**
154
+
* Cancels all running or queued `TaskInstance`s for this task group.
155
+
* If you're trying to cancel a specific TaskInstance (rather
156
+
* than all of the instances running under this task group) call
157
+
* `.cancel()` on the specific TaskInstance.
158
+
*
159
+
* @method cancelAll
160
+
* @memberof TaskGroup
161
+
* @param {Object} [options]
162
+
* @param {string} [options.reason=.cancelAll() was explicitly called on the Task] - a descriptive reason the task group was cancelled
163
+
* @param {boolean} [options.resetState] - if true, will clear the task group state (`last*` and `performCount` properties will be set to initial values)
0 commit comments