File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,6 @@ class ChannelModel extends EventEmitter {
4141 }
4242}
4343
44- module . exports . ChannelModel = ChannelModel ;
45-
4644// Channels
4745
4846class Channel extends BaseChannel {
@@ -249,8 +247,6 @@ class Channel extends BaseChannel {
249247 }
250248}
251249
252- module . exports . Channel = Channel ;
253-
254250// There are more options in AMQP than exposed here; RabbitMQ only
255251// implements prefetch based on message count, and only for individual
256252// channels or consumers. RabbitMQ v3.3.0 and after treat prefetch
@@ -300,3 +296,5 @@ class ConfirmChannel extends Channel {
300296}
301297
302298module . exports . ConfirmChannel = ConfirmChannel ;
299+ module . exports . Channel = Channel ;
300+ module . exports . ChannelModel = ChannelModel ;
You can’t perform that action at this time.
0 commit comments