Index

src/utils/currency.ts

getCurrencyConfig
getCurrencyConfig(currency: undefined)

Configuration for each currency. The objective is to regroup every information specific to each currency here.

Parameters :
Name Optional Description
currency No

The currency to get the config for

src/api/request.ts

promiEventLibraryWrap
promiEventLibraryWrap(request: undefined, callback: undefined, events: undefined)

Util function to wrap a function call into a PromiseEventEmitter for an action on a Request. Creates a new promiEvent to wrap the promiEvent returned by the services. It is necessary, in order to add the Request object in the resolution of the promise.

Parameters :
Name Optional
request No
callback No
events No

result-matching ""

    No results matching ""