Interface INotificationService

interface INotificationService {
    addHandler(code: number, handler: ((notif: Notification) => void)): (() => void);
    delete(ids: string[]): Promise<void>;
    list(count: number): Promise<Notification[]>;
    on(code: number, payload: Notification): void;
}

Hierarchy

Methods