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

Function recalculateCurrentTime

code/communication/public/app.js:13557–13562  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13555 }
13556
13557 function recalculateCurrentTime() {
13558 // Subtract initial time so it fits inside 32bits
13559 mostRecentCurrentTimeMs = now() - originalStartTimeMs;
13560 mostRecentCurrentTime = msToExpirationTime(mostRecentCurrentTimeMs);
13561 return mostRecentCurrentTime;
13562 }
13563
13564 function deferredUpdates(fn) {
13565 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