(boundaryFiber, thenable)
| 23165 | } |
| 23166 | } |
| 23167 | function resolveRetryThenable(boundaryFiber, thenable) { |
| 23168 | var retryTime = NoWork; // Default |
| 23169 | |
| 23170 | var retryCache; |
| 23171 | |
| 23172 | { |
| 23173 | retryCache = boundaryFiber.stateNode; |
| 23174 | } |
| 23175 | |
| 23176 | if (retryCache !== null) { |
| 23177 | // The thenable resolved, so we no longer need to memoize, because it will |
| 23178 | // never be thrown again. |
| 23179 | retryCache.delete(thenable); |
| 23180 | } |
| 23181 | |
| 23182 | retryTimedOutBoundary(boundaryFiber, retryTime); |
| 23183 | } // Computes the next Just Noticeable Difference (JND) boundary. |
| 23184 | // The theory is that a person can't tell the difference between small differences in time. |
| 23185 | // Therefore, if we wait a bit longer than necessary that won't translate to a noticeable |
| 23186 | // difference in the experience. However, waiting for longer might mean that we can avoid |
nothing calls this directly
no test coverage detected