hosanna-ui-docs - v0.9.0
    Preparing search index...

    Interface INotificationCenter

    Interface for a notification center that manages dispatching and subscription of notifications.

    interface INotificationCenter {
        dispatch(notification: INotification<any>): void;
        subscribe(
            name: string,
            handler: notification_api.onNotification<any>,
        ): IIdentifiable;
        unsubscribe(
            name: string,
            handler: notification_api.onNotification<any> | IIdentifiable,
        ): void;
    }

    Implemented by

    Index

    Methods