@sinuos/nestjs-notification
Version:
NestJS notification based on channel
10 lines (9 loc) • 319 B
TypeScript
import { ModuleRef } from '@nestjs/core';
import { NestJsNotification } from './interfaces';
export declare class NestjsNotificationService {
private moduleRef;
private resolveChannel;
constructor(moduleRef: ModuleRef);
send(notification: NestJsNotification): Promise<any>;
private sendOnChannel;
}