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

Function recalculateCurrentTime

code/composition/public/app.js:13660–13665  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13658 }
13659
13660 function recalculateCurrentTime() {
13661 // Subtract initial time so it fits inside 32bits
13662 mostRecentCurrentTimeMs = now() - originalStartTimeMs;
13663 mostRecentCurrentTime = msToExpirationTime(mostRecentCurrentTimeMs);
13664 return mostRecentCurrentTime;
13665 }
13666
13667 function deferredUpdates(fn) {
13668 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