default class
Singleton provider for managing data sources information.
Methods
| get |
Retrieves the data sources information. |
| get |
Retrieves the singleton instance of PowerDataSourcesInfoProvider. If the instance does not exist, it initializes it with the provided data sources info. |
Method Details
getDataSourcesInfo()
Retrieves the data sources information.
function getDataSourcesInfo(): Promise<DataSourcesInfo>
Returns
Promise<DataSourcesInfo>
A promise resolving to the data sources information.
getInstance(DataSourcesInfo)
Retrieves the singleton instance of PowerDataSourcesInfoProvider. If the instance does not exist, it initializes it with the provided data sources info.
static function getInstance(dataSourcesInfo?: DataSourcesInfo): PowerDataSourcesInfoProvider
Parameters
- dataSourcesInfo
- DataSourcesInfo
Optional parameter to initialize the instance if it doesn't exist.
Returns
The singleton instance of PowerDataSourcesInfoProvider.