MCPcopy Index your code
hub / github.com/caseywebdev/react-list / flushActQueue

Function flushActQueue

docs/index.js:1435–1462  ·  view source on GitHub ↗
(queue)

Source from the content-addressed store, hash-verified

1433 : resolve(returnValue);
1434 }
1435 function flushActQueue(queue) {
1436 if (!isFlushing) {
1437 isFlushing = !0;
1438 var i = 0;
1439 try {
1440 for (; i < queue.length; i++) {
1441 var callback = queue[i];
1442 do {
1443 ReactSharedInternals.didUsePromise = !1;
1444 var continuation = callback(!1);
1445 if (null !== continuation) {
1446 if (ReactSharedInternals.didUsePromise) {
1447 queue[i] = callback;
1448 queue.splice(0, i);
1449 return;
1450 }
1451 callback = continuation;
1452 } else break;
1453 } while (1);
1454 }
1455 queue.length = 0;
1456 } catch (error) {
1457 queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
1458 } finally {
1459 isFlushing = !1;
1460 }
1461 }
1462 }
1463 "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1464 "function" ===
1465 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&

Callers 2

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…