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.

UsageReturns
ee.data.updateTask(taskId, action, callback)List
ArgumentTypeDetails
taskIdListSubmitted ID of the task or an array of multiple task IDs. May also contain operation names.
actionTaskUpdateActionsAction performed on tasks.
callbackFunction, optionalAn optional callback. If not supplied, the call is made synchronously.