()
| 13661 | |
| 13662 | // Creates a unique async expiration time. |
| 13663 | function computeUniqueAsyncExpiration() { |
| 13664 | var currentTime = recalculateCurrentTime(); |
| 13665 | var result = computeAsyncExpiration(currentTime); |
| 13666 | if (result <= lastUniqueAsyncExpiration) { |
| 13667 | // Since we assume the current time monotonically increases, we only hit |
| 13668 | // this branch when computeUniqueAsyncExpiration is fired multiple times |
| 13669 | // within a 200ms window (or whatever the async bucket size is). |
| 13670 | result = lastUniqueAsyncExpiration + 1; |
| 13671 | } |
| 13672 | lastUniqueAsyncExpiration = result; |
| 13673 | return lastUniqueAsyncExpiration; |
| 13674 | } |
| 13675 | |
| 13676 | function computeExpirationForFiber(fiber) { |
| 13677 | var expirationTime = void 0; |
nothing calls this directly
no test coverage detected