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