MCPcopy
hub / github.com/amqp-node/amqplib / ConfirmChannel

Interface ConfirmChannel

callback_api.d.ts:120–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120export 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
138export declare class IllegalOperationError extends Error {
139 name: 'IllegalOperationError';

Callers

nothing calls this directly

Implementers 1

ConfirmChannellib/callback_model.js

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…