ConfigAndCallbacks
Set caching option, callbacks, and data formatting function when querying data from Airstack API.
Example
Type Signature
Fields
Param | Type | Default Value | Description |
---|---|---|---|
|
|
| Caching configuration. |
|
| - | A callback function that will be called when the query is successfully completed. |
|
| - | A callback function that will be called when an error occurs during the query. |
|
| - | A function that allows custom formatting of the data before returning it to the user. |
Last updated
Was this helpful?