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) 135 B
import { Message } from '../message/message'; export interface IMessageBus { dispatch(message: Message): Promise<object | void>; }