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

Function readA

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

Source from the content-addressed store, hash-verified

77 return new ReadableStream({
78 start(controller) {
79 function readA() {
80 readerA.read().then(({done, value}) => {
81 if (done) {
82 readB();
83 return;
84 }
85 controller.enqueue(value);
86 readA();
87 });
88 }
89 function readB() {
90 readerB.read().then(({done, value}) => {
91 if (done) {

Callers 1

startFunction · 0.85

Calls 2

readBFunction · 0.85
thenMethod · 0.65

Tested by

no test coverage detected