UNPKG

@nestjstools/messaging

Version:

Simplifies asynchronous and synchronous message handling with support for buses, handlers, channels, and consumers. Build scalable, decoupled applications with ease and reliability.

5 lines (4 loc) 185 B
export interface MessageNormalizer { normalize(message: object, type: string): Promise<string | object>; denormalize(message: string | object, type: string): Promise<object>; }