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

Function computeAsyncExpiration

docs/external/js/react-dom.development.js:11297–11299  ·  view source on GitHub ↗
(currentTime)

Source from the content-addressed store, hash-verified

11295 var LOW_PRIORITY_EXPIRATION = 5000;
11296 var LOW_PRIORITY_BATCH_SIZE = 250;
11297 function computeAsyncExpiration(currentTime) {
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);

Callers 1

Calls 1

computeExpirationBucketFunction · 0.85

Tested by

no test coverage detected