Methods
(static) all(fetchers) → {ProgressPromise}
Adds multiple fetchers in queue for execution.
Example
Fn.all([new Fn.Analytics(), new Fn.OrganisationUnit()]);
Parameters:
Name | Type | Description |
---|---|---|
fetchers |
Array.<Fetcher> | The fethers is an array of the fetchers |
Returns:
- Progress Promise for fetching the various fetchers
- Type
- ProgressPromise
(static) init(configuration) → {ProgressPromise}
Configures the running environment parameters
Example
Fn.all({baseUrl:''});
Parameters:
Name | Type | Description |
---|---|---|
configuration |
Object | The fethers is an array of the fetchers |
Returns:
- Progress Promise for fetching the various fetchers
- Type
- ProgressPromise