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.

4 lines (3 loc) 88 B
export interface IMessageHandler<T> { handle(message: T): Promise<object | void>; }