@nestjstools/messaging-nats-extension
Version:
Extension to handle messages and dispatch them over Nats
8 lines (7 loc) • 310 B
TypeScript
import { Channel } from '@nestjstools/messaging';
import { NatsChannelConfig } from './nats-channel.config';
import { NatsConnection } from 'nats';
export declare class NatsChannel extends Channel<NatsChannelConfig> {
readonly client: Promise<NatsConnection>;
constructor(config: NatsChannelConfig);
}