ee.data.cancelOperation
Cancels the given operation(s).
Usage | Returns |
---|
ee.data.cancelOperation(operationName, callback) | |
Argument | Type | Details |
---|
operationName | List | Operation name(s). |
callback | Function, optional | An optional callback. If not supplied, the call is made synchronously. The callback is passed an empty object. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["Cancels running Earth Engine operations specified by their names."],["Accepts a list of operation names and an optional callback function for asynchronous execution."],["When a callback is provided, it's executed upon completion, receiving an empty object as an argument."],["If no callback is given, the function operates synchronously, blocking until cancellation is complete."]]],["The `ee.data.cancelOperation` function cancels specified operations. It accepts a list of `operationName` strings as input. An optional `callback` function can be provided to handle the response asynchronously; otherwise, the operation is synchronous. The callback, if used, receives an empty object. The function does not return any specific value directly.\n"]]