MCPcopy Index your code
hub / github.com/nodejs/node / onsend

Function onsend

test/parallel/test-dgram-send-callback-recursive.js:14–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12let port;
13
14function onsend() {
15 if (sent++ < limit) {
16 client.send(chunk, 0, chunk.length, port, common.localhostIPv4, onsend);
17 } else {
18 assert.strictEqual(async, true);
19 }
20}
21
22client.on('listening', function() {
23 port = this.address().port;

Calls 1

sendMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…