@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.
9 lines (8 loc) • 330 B
TypeScript
import { DiscoveryService } from '@nestjs/core';
import { Channel } from '../channel';
import { ChannelConfig } from '../../config';
export declare class CompositeChannelFactory {
private readonly discoveryService;
constructor(discoveryService: DiscoveryService);
create(channelConfig: ChannelConfig): Channel<any>;
}