Fn

Fn

Source:

This is the main holder for the functionalities of the function

Methods

(static) all(fetchers) → {ProgressPromise}

Source:

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}

Source:

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