AlertApi
Home > @backstage/core-plugin-api
> AlertApi
The alert API is used to report alerts to the app, and display them to the user.
Signature:
export type AlertApi = {
post(alert: AlertMessage): void;
alert$(): Observable<AlertMessage>;
};
References: AlertMessage, Observable