Update one or more tasks' properties. For now, only the following properties may be updated: State (to CANCELLED)
Returns an array of updated tasks, or null if a callback is specified.
Usage | Returns | ee.data.updateTask(taskId, action, callback) | List |
Argument | Type | Details | taskId | List | Submitted ID of the task or an array of multiple task IDs. May also contain operation names. |
action | TaskUpdateActions | Action performed on tasks. |
callback | Function, optional | An optional callback. If not supplied, the call is made synchronously. |