MCPcopy Create free account
hub / github.com/microsoft/SandDance / computeSuspenseExpiration

Function computeSuspenseExpiration

docs/external/js/react-dom.development.js:11300–11303  ·  view source on GitHub ↗
(currentTime, timeoutMs)

Source from the content-addressed store, hash-verified

11298 return computeExpirationBucket(currentTime, LOW_PRIORITY_EXPIRATION, LOW_PRIORITY_BATCH_SIZE);
11299 }
11300 function computeSuspenseExpiration(currentTime, timeoutMs) {
11301 // TODO: Should we warn if timeoutMs is lower than the normal pri expiration time?
11302 return computeExpirationBucket(currentTime, timeoutMs, LOW_PRIORITY_BATCH_SIZE);
11303 } // We intentionally set a higher expiration time for interactive updates in
11304 // dev than in production.
11305 //
11306 // If the main thread is being blocked so long that you hit the expiration,

Callers 1

Calls 1

computeExpirationBucketFunction · 0.85

Tested by

no test coverage detected