()
| 12643 | |
| 12644 | // Creates a unique async expiration time. |
| 12645 | function computeUniqueAsyncExpiration() { |
| 12646 | var currentTime = recalculateCurrentTime(); |
| 12647 | var result = computeAsyncExpiration(currentTime); |
| 12648 | if (result <= lastUniqueAsyncExpiration) { |
| 12649 | // Since we assume the current time monotonically increases, we only hit |
| 12650 | // this branch when computeUniqueAsyncExpiration is fired multiple times |
| 12651 | // within a 200ms window (or whatever the async bucket size is). |
| 12652 | result = lastUniqueAsyncExpiration + 1; |
| 12653 | } |
| 12654 | lastUniqueAsyncExpiration = result; |
| 12655 | return lastUniqueAsyncExpiration; |
| 12656 | } |
| 12657 | |
| 12658 | function computeExpirationForFiber(fiber) { |
| 12659 | var expirationTime = void 0; |
nothing calls this directly
no test coverage detected