Skip to content

Commit

Permalink
[amqp-connection-manager] Fix waitForConnect (#42677)
Browse files Browse the repository at this point in the history
  • Loading branch information
morigs committed Feb 27, 2020
1 parent 0e5b0ca commit eb7c8b9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions types/amqp-connection-manager/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,6 @@ export interface AmqpConnectionManager extends EventEmitter {
* Close this AmqpConnectionManager and free all associated resources.
*/
close(): Promise<void>;

/**
* Returns a Promise which resolves when this channel next connects.
*/
waitForConnect(): Promise<void>;
}

export interface ChannelWrapper extends EventEmitter {
Expand Down Expand Up @@ -211,4 +206,9 @@ export interface ChannelWrapper extends EventEmitter {
* Close a channel, clean up resources associated with it.
*/
close(): Promise<void>;

/**
* Returns a Promise which resolves when this channel next connects.
*/
waitForConnect(): Promise<void>;
}

0 comments on commit eb7c8b9

Please sign in to comment.