Interface for classes that can be used to load data for MultiLoader.
Methods
-
load(callback)
-
Load data asynchronously with a callback.
Parameters:
Name Type Description callbackLoader~dataCallback the callback to invoke with the results
Returns:
the loader object
- Type
- Loader
Type Definitions
-
dataCallback( [error], data)
-
The loader callback function.
Parameters:
Name Type Argument Description errorError <optional>
an error if a failure occurred
dataObject the result data