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

Function createWriteWrap

lib/internal/webstreams/adapters.js:963–973  ·  view source on GitHub ↗
(controller, promise)

Source from the content-addressed store, hash-verified

961 let current;
962
963 function createWriteWrap(controller, promise) {
964 const req = new WriteWrap();
965 req.handle = streamBase;
966 req.oncomplete = onWriteComplete;
967 req.async = false;
968 req.bytes = 0;
969 req.buffer = null;
970 req.controller = controller;
971 req.promise = promise;
972 return req;
973 }
974
975 function onWriteComplete(status) {
976 if (status < 0) {

Callers 1

doWriteFunction · 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…