@amirmarmul/waba-common
Version:

10 lines (9 loc) • 307 B
TypeScript
import { ChannelWrapper } from 'amqp-connection-manager';
type ChannelType = 'publisher' | 'default';
export declare class ChannelEvent {
private static channels;
private constructor();
private static createChannel;
static getChannel(channelType?: ChannelType): ChannelWrapper;
}
export {};