MCPcopy Index your code
hub / github.com/plotly/dash / stopCommitTimer

Function stopCommitTimer

dash/deps/react-dom@16.14.0.js:10659–10679  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10657 }
10658 }
10659 function stopCommitTimer() {
10660 {
10661 if (!supportsUserTiming) {
10662 return;
10663 }
10664
10665 var warning = null;
10666
10667 if (hasScheduledUpdateInCurrentCommit) {
10668 warning = 'Lifecycle hook scheduled a cascading update';
10669 } else if (commitCountInCurrentWorkLoop > 0) {
10670 warning = 'Caused by a cascading update in earlier commit';
10671 }
10672
10673 hasScheduledUpdateInCurrentCommit = false;
10674 commitCountInCurrentWorkLoop++;
10675 isCommitting = false;
10676 labelsInCurrentCommit.clear();
10677 endMark('(Committing Changes)', '(Committing Changes)', warning);
10678 }
10679 }
10680 function startCommitSnapshotEffectsTimer() {
10681 {
10682 if (!supportsUserTiming) {

Callers 1

commitRootImplFunction · 0.85

Calls 2

endMarkFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…