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.

7 lines (6 loc) 192 B
import { ChannelConfig } from '../config'; export declare class Channel<T extends ChannelConfig> { readonly config: T; constructor(config: T); onChannelDestroy(): Promise<void>; }