MCPcopy
hub / github.com/facebook/react / readB

Function readB

packages/react-dom/src/__tests__/ReactDOMFizzStaticBrowser-test.js:89–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 });
88 }
89 function readB() {
90 readerB.read().then(({done, value}) => {
91 if (done) {
92 controller.close();
93 return;
94 }
95 controller.enqueue(value);
96 readB();
97 });
98 }
99 readA();
100 },
101 });

Callers 1

readAFunction · 0.85

Calls 2

thenMethod · 0.65
closeMethod · 0.65

Tested by

no test coverage detected