()
| 13548 | |
| 13549 | // Creates a unique async expiration time. |
| 13550 | function computeUniqueAsyncExpiration() { |
| 13551 | var currentTime = recalculateCurrentTime(); |
| 13552 | var result = computeAsyncExpiration(currentTime); |
| 13553 | if (result <= lastUniqueAsyncExpiration) { |
| 13554 | // Since we assume the current time monotonically increases, we only hit |
| 13555 | // this branch when computeUniqueAsyncExpiration is fired multiple times |
| 13556 | // within a 200ms window (or whatever the async bucket size is). |
| 13557 | result = lastUniqueAsyncExpiration + 1; |
| 13558 | } |
| 13559 | lastUniqueAsyncExpiration = result; |
| 13560 | return lastUniqueAsyncExpiration; |
| 13561 | } |
| 13562 | |
| 13563 | function computeExpirationForFiber(fiber) { |
| 13564 | var expirationTime = void 0; |
nothing calls this directly
no test coverage detected