SetupFunc: ((channel, callback) => void) | ((channel) => Promise<void>) | ((channel, callback) => void) | ((channel) => Promise<void>)
Type declaration
-
- (channel, callback): void
-
Parameters
-
-
callback: ((error?) => void)
-
- (error?): void
-
Parameters
-
Optional
error: Error
Optional
Returns void
Returns void
Type declaration
-
- (channel): Promise<void>
-
Returns Promise<void>
Type declaration
-
- (channel, callback): void
-
Parameters
-
channel: amqplib.ConfirmChannel
-
callback: ((error?) => void)
-
- (error?): void
-
Parameters
-
Optional
error: Error
Optional
Returns void
Returns void
Type declaration
-
- (channel): Promise<void>
-
Parameters
-
channel: amqplib.ConfirmChannel
Returns Promise<void>