ee.data.updateTask

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<TaskStatus>
Argument Type Details
taskId
List<String>|String 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.
Create a Mobile Website
View Site in Mobile | Classic
Share by: