MultipleAnalyticsApi.fromApis()
Home > @backstage/core-compat-api
> MultipleAnalyticsApi
> fromApis
Create an AnalyticsApi implementation from an array of concrete implementations.
Signature:
static fromApis(actualApis: (AnalyticsApi | NewAnalyicsApi)[]): MultipleAnalyticsApi;
Parameters
Parameter |
Type |
Description |
---|---|---|
actualApis |
(AnalyticsApi | NewAnalyicsApi)[] |
Example
MultipleAnalyticsApi.fromApis([
SomeAnalyticsApi.fromConfig(configApi),
new CustomAnalyticsApi(),
]);