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

Function send

test/lib/util.js:56–67  ·  view source on GitHub ↗
(id, fields, channel, content)

Source from the content-addressed store, hash-verified

54 frames.freshChannel(null);
55
56 function send(id, fields, channel, content) {
57 channel = channel || 0;
58 if (content) {
59 schedule(() => {
60 frames.sendMessage(channel, id, fields, defs.BasicProperties, fields, content);
61 });
62 } else {
63 schedule(() => {
64 frames.sendMethod(channel, id, fields);
65 });
66 }
67 }
68
69 function wait(method) {
70 return () =>

Callers 12

onStartMethod · 0.85
afterStartOkMethod · 0.85
toClosingMethod · 0.85
toClosingMethod · 0.85
connect.test.jsFile · 0.85
captureHandshakeFunction · 0.85
channel_handshakeFunction · 0.85
channel.test.jsFile · 0.85
sendOkFunction · 0.85
confirmTestFunction · 0.85
connection.test.jsFile · 0.85
handshakeFunction · 0.85

Calls 2

sendMethodMethod · 0.80
sendMessageMethod · 0.45

Tested by 4

captureHandshakeFunction · 0.68
channel_handshakeFunction · 0.68
sendOkFunction · 0.68
confirmTestFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…