@nestjstools/messaging-nats-extension
Version:
Extension to handle messages and dispatch them over Nats
7 lines (6 loc) • 312 B
TypeScript
import { NatsChannel } from './nats.channel';
import { IChannelFactory } from '@nestjstools/messaging';
import { NatsChannelConfig } from './nats-channel.config';
export declare class NatsChannelFactory implements IChannelFactory<NatsChannelConfig> {
create(channelConfig: NatsChannelConfig): NatsChannel;
}