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

Function createWriteWrap

lib/internal/stream_base_commons.js:108–119  ·  view source on GitHub ↗
(handle, callback)

Source from the content-addressed store, hash-verified

106}
107
108function createWriteWrap(handle, callback) {
109 const req = new WriteWrap();
110
111 req.handle = handle;
112 req.oncomplete = onWriteComplete;
113 req.async = false;
114 req.bytes = 0;
115 req.buffer = null;
116 req.callback = callback;
117
118 return req;
119}
120
121function writevGeneric(self, data, cb) {
122 const req = createWriteWrap(self[kHandle], cb);

Callers 2

writevGenericFunction · 0.70
writeGenericFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…