()
| 14874 | } |
| 14875 | } |
| 14876 | function processRootScheduleInMicrotask() { |
| 14877 | mightHavePendingSyncWork = didScheduleMicrotask = !1; |
| 14878 | var syncTransitionLanes = 0; |
| 14879 | 0 !== currentEventTransitionLane && |
| 14880 | (shouldAttemptEagerTransition() && |
| 14881 | (syncTransitionLanes = currentEventTransitionLane), |
| 14882 | (currentEventTransitionLane = 0)); |
| 14883 | for ( |
| 14884 | var currentTime = now(), prev = null, root = firstScheduledRoot; |
| 14885 | null !== root; |
| 14886 | |
| 14887 | ) { |
| 14888 | var next = root.next, |
| 14889 | nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime); |
| 14890 | if (0 === nextLanes) |
| 14891 | (root.next = null), |
| 14892 | null === prev ? (firstScheduledRoot = next) : (prev.next = next), |
| 14893 | null === next && (lastScheduledRoot = prev); |
| 14894 | else if ( |
| 14895 | ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3)) |
| 14896 | ) |
| 14897 | mightHavePendingSyncWork = !0; |
| 14898 | root = next; |
| 14899 | } |
| 14900 | flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); |
| 14901 | } |
| 14902 | function scheduleTaskForRootDuringMicrotask(root, currentTime) { |
| 14903 | for ( |
| 14904 | var suspendedLanes = root.suspendedLanes, |
nothing calls this directly
no test coverage detected
searching dependent graphs…