()
| 13410 | |
| 13411 | // Creates a unique async expiration time. |
| 13412 | function computeUniqueAsyncExpiration() { |
| 13413 | var currentTime = recalculateCurrentTime(); |
| 13414 | var result = computeAsyncExpiration(currentTime); |
| 13415 | if (result <= lastUniqueAsyncExpiration) { |
| 13416 | // Since we assume the current time monotonically increases, we only hit |
| 13417 | // this branch when computeUniqueAsyncExpiration is fired multiple times |
| 13418 | // within a 200ms window (or whatever the async bucket size is). |
| 13419 | result = lastUniqueAsyncExpiration + 1; |
| 13420 | } |
| 13421 | lastUniqueAsyncExpiration = result; |
| 13422 | return lastUniqueAsyncExpiration; |
| 13423 | } |
| 13424 | |
| 13425 | function computeExpirationForFiber(fiber) { |
| 13426 | var expirationTime = void 0; |
nothing calls this directly
no test coverage detected