(root, didTimeout)
| 14969 | return 2; |
| 14970 | } |
| 14971 | function performWorkOnRootViaSchedulerTask(root, didTimeout) { |
| 14972 | var originalCallbackNode = root.callbackNode; |
| 14973 | if (flushPassiveEffects() && root.callbackNode !== originalCallbackNode) |
| 14974 | return null; |
| 14975 | var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes; |
| 14976 | workInProgressRootRenderLanes$jscomp$0 = getNextLanes( |
| 14977 | root, |
| 14978 | root === workInProgressRoot ? workInProgressRootRenderLanes$jscomp$0 : 0 |
| 14979 | ); |
| 14980 | if (0 === workInProgressRootRenderLanes$jscomp$0) return null; |
| 14981 | performWorkOnRoot(root, workInProgressRootRenderLanes$jscomp$0, didTimeout); |
| 14982 | scheduleTaskForRootDuringMicrotask(root, now()); |
| 14983 | return null != root.callbackNode && root.callbackNode === originalCallbackNode |
| 14984 | ? performWorkOnRootViaSchedulerTask.bind(null, root) |
| 14985 | : null; |
| 14986 | } |
| 14987 | function performSyncWorkOnRoot(root, lanes) { |
| 14988 | if (flushPassiveEffects()) return null; |
| 14989 | performWorkOnRoot(root, lanes, !0); |
nothing calls this directly
no test coverage detected
searching dependent graphs…