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

Method pull

lib/internal/streams/iter/share.js:96–107  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

94 }
95
96 pull(...args) {
97 const { transforms, options } = parsePullArgs(args);
98 const rawConsumer = this.#createRawConsumer();
99
100 if (transforms.length > 0) {
101 if (options) {
102 return pullWithTransforms(rawConsumer, ...transforms, options);
103 }
104 return pullWithTransforms(rawConsumer, ...transforms);
105 }
106 return rawConsumer;
107 }
108
109 #createRawConsumer() {
110 const state = {

Callers

nothing calls this directly

Calls 2

#createRawConsumerMethod · 0.95
parsePullArgsFunction · 0.85

Tested by

no test coverage detected