/** * The notification handler class * * @exports * @interface NotificationHandler */ export default interface NotificationHandler { /** * The notification handler called on T event * * @param {T} notification The notification param * @returns {Promise} * @memberof INotificationHandler */ handle(notification: T): Promise; } export type NotificationHandlerClass = new (...args: unknown[]) => NotificationHandler;