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) 147 B
import { ConsumerMessage } from './consumer-message'; export interface ConsumerMessageDispatcher { dispatch(message: ConsumerMessage): void; }