Class: DataManager

DataManager(args)

Represents an DataManager. (You most likely shouldn't be accessing this directly, use AcrosureClient#data instead.)

Constructor

new DataManager(args)

Create an data manager.
Parameters:
Name Type Description
args Object An object consists of several properties.
Properties
Name Type Description
callAPI function A function which call Acrosure API.
Source:

Members

callAPI :function

callAPI Function (which should be granted by AcrosureClient#callAPI )
Type:
  • function
Source:

Methods

(async) get(args) → {Object}

Get data of a handler.
Parameters:
Name Type Description
args Object An object consists of several properties.
Properties
Name Type Description
handler string A handler string.
dependencies Array An array of dependencies (if needed).
Source:
Returns:
Available values for the combination of handler/dependencies.
Type
Object