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.

6 lines (5 loc) 184 B
import { Channel } from './channel'; import { ChannelConfig } from '../config'; export interface IChannelFactory<T extends ChannelConfig> { create(channelConfig: T): Channel<T>; }