MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / recalculateCurrentTime

Function recalculateCurrentTime

code/third-party/public/app.js:12755–12760  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12753 }
12754
12755 function recalculateCurrentTime() {
12756 // Subtract initial time so it fits inside 32bits
12757 mostRecentCurrentTimeMs = now() - originalStartTimeMs;
12758 mostRecentCurrentTime = msToExpirationTime(mostRecentCurrentTimeMs);
12759 return mostRecentCurrentTime;
12760 }
12761
12762 function deferredUpdates(fn) {
12763 var previousExpirationContext = expirationContext;

Callers 6

commitRootFunction · 0.70
deferredUpdatesFunction · 0.70
performWorkFunction · 0.70
ReactFiberReconciler$1Function · 0.70

Calls 1

msToExpirationTimeFunction · 0.70

Tested by

no test coverage detected