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

Function recalculateCurrentTime

code/styling/public/app.js:13522–13527  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13520 }
13521
13522 function recalculateCurrentTime() {
13523 // Subtract initial time so it fits inside 32bits
13524 mostRecentCurrentTimeMs = now() - originalStartTimeMs;
13525 mostRecentCurrentTime = msToExpirationTime(mostRecentCurrentTimeMs);
13526 return mostRecentCurrentTime;
13527 }
13528
13529 function deferredUpdates(fn) {
13530 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