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

Function source1

test/parallel/test-stream-iter-consumers-merge.js:114–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112 let source1Return = false;
113 let source2Return = false;
114 async function* source1() {
115 try {
116 while (true) yield [new TextEncoder().encode('a')];
117 } finally {
118 source1Return = true;
119 }
120 }
121
122 async function* source2() {
123 try {

Callers 1

testMergeConsumerBreakFunction · 0.85

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected