| 118 | } |
| 119 | |
| 120 | export interface ConfirmChannel extends Channel { |
| 121 | publish( |
| 122 | exchange: string, |
| 123 | routingKey: string, |
| 124 | content: Buffer, |
| 125 | options?: Options.Publish, |
| 126 | callback?: (err: Error, ok: Replies.Empty) => void, |
| 127 | ): boolean; |
| 128 | sendToQueue( |
| 129 | queue: string, |
| 130 | content: Buffer, |
| 131 | options?: Options.Publish, |
| 132 | callback?: (err: Error, ok: Replies.Empty) => void, |
| 133 | ): boolean; |
| 134 | |
| 135 | waitForConfirms(callback?: (err?: Error) => void): void; |
| 136 | } |
| 137 | |
| 138 | export declare class IllegalOperationError extends Error { |
| 139 | name: 'IllegalOperationError'; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…