MCPcopy Create free account
hub / github.com/nodejs/node / pull

Function pull

test/fixtures/wpt/streams/readable-streams/general.any.js:198–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196 const error = new Error('pull failure');
197 const rs = new ReadableStream({
198 pull() {
199 return Promise.reject(error);
200 }
201 });
202
203 const reader = rs.getReader();

Callers

nothing calls this directly

Calls 7

rejectMethod · 0.80
closeMethod · 0.65
resolveFunction · 0.50
assert_equalsFunction · 0.50
enqueueMethod · 0.45
errorMethod · 0.45
readStartMethod · 0.45

Tested by

no test coverage detected