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

Method constructor

lib/callback_model.js:58–62  ·  view source on GitHub ↗
(connection)

Source from the content-addressed store, hash-verified

56
57class Channel extends BaseChannel {
58 constructor(connection) {
59 super(connection);
60 this.on('delivery', this.handleDelivery.bind(this));
61 this.on('cancel', this.handleCancel.bind(this));
62 }
63
64 // This encodes straight-forward RPC: no side-effects and return the
65 // fields from the server response. It wraps the callback given it, so

Callers

nothing calls this directly

Calls 1

onMethod · 0.95

Tested by

no test coverage detected