new TwisterResource()
General resource class. Inherited by all objects inside twister-lib-js.
- Source:
Methods
_checkQueryAndDo(cbfunc, querySettings)
Checks whether cached resource is outdated and invokes an update if needed. Calls cbfunc on the resource when done.
Parameters:
| Name | Type | Description |
|---|---|---|
cbfunc |
function | callback function |
querySettings |
Object |
- Source:
getQuerySetting(settings)
Retrieve currently set query setting.
Parameters:
| Name | Type | Description |
|---|---|---|
settings |
string |
- Source: