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

Method on

index.d.ts:37–37  ·  view source on GitHub ↗
(event: 'close', listener: () => void)

Source from the content-addressed store, hash-verified

35 readonly connection: Connection;
36
37 on(event: 'close', listener: () => void): this;
38 on(event: 'error', listener: (err: Error) => void): this;
39 on(event: 'drain', listener: () => void): this;
40 on(event: 'ack', listener: (fields: { deliveryTag: number; multiple: boolean }) => void): this;

Callers 15

constructorMethod · 0.95
constructorMethod · 0.95
constructorMethod · 0.95
channelTestFunction · 0.95
testChannelModelEventsFunction · 0.65
testChannelEventsFunction · 0.65
testRecoveryFunction · 0.65
testConnectionEventsFunction · 0.65
testChannelEventsFunction · 0.65
testRecoveryFunction · 0.65
_bindModelMethod · 0.65
_unbindModelMethod · 0.65

Calls

no outgoing calls

Tested by 3

channelTestFunction · 0.76
confirmTestFunction · 0.52
readAllObjectsFunction · 0.52