Returns the value call results, or null if a callback is specified.
Usage | Returns |
---|---|
ee.data.getAsset(id, callback) | Object |
Argument | Type | Details |
---|---|---|
id | String | The asset to be retrieved. |
callback | Function, optional | An optional callback. If not supplied, the call is made synchronously. |