MCPcopy Create free account
hub / github.com/caseywebdev/react-list / scheduleImmediateTask

Function scheduleImmediateTask

docs/index.js:14991–14997  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

14989 performWorkOnRoot(root, lanes, !0);
14990}
14991function scheduleImmediateTask(cb) {
14992 scheduleMicrotask(function () {
14993 0 !== (executionContext & 6)
14994 ? scheduleCallback$3(ImmediatePriority, cb)
14995 : cb();
14996 });
14997}
14998function requestTransitionLane() {
14999 0 === currentEventTransitionLane &&
15000 (currentEventTransitionLane = claimNextTransitionLane());

Callers 1

ensureRootIsScheduledFunction · 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…