ee.Filter.evaluate
Asynchronously retrieves the value of this object from the server and passes it to the provided callback function.
Usage | Returns |
---|
Filter.evaluate(callback) | |
Argument | Type | Details |
---|
this: computedobject | ComputedObject | The ComputedObject instance. |
callback | Function | A function of the form function(success, failure), called when the server returns an answer. If the request succeeded, the success argument contains the evaluated result. If the request failed, the failure argument will contains an error message. |
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."],[[["Retrieves the object's value from the server and provides it to a specified callback function."],["Utilizes a `callback` function with arguments for success (containing the result) and failure (containing an error message)."],["Applicable to ComputedObject instances, allowing asynchronous retrieval of their values."]]],["The `Filter.evaluate` method asynchronously fetches a `ComputedObject`'s value from the server. It utilizes a callback function to handle the response. This callback, structured as `function(success, failure)`, receives either the evaluated result in the `success` argument upon a successful request or an error message in the `failure` argument if the request fails. The method itself does not return a value. The method receives as a parameter the callback function and it needs to be invoked from an instance of a `ComputedObject`.\n"]]