()
| 17350 | } |
| 17351 | |
| 17352 | function processChecks() { |
| 17353 | // eslint-disable-next-line no-unmodified-loop-condition |
| 17354 | while (!queueSize && checkQueue.length) { |
| 17355 | var toCheck = checkQueue.shift(); |
| 17356 | if (!isStateExceptionHandled(toCheck)) { |
| 17357 | markQStateExceptionHandled(toCheck); |
| 17358 | var errorMessage = 'Possibly unhandled rejection: ' + toDebugString(toCheck.value); |
| 17359 | if (isError(toCheck.value)) { |
| 17360 | exceptionHandler(toCheck.value, errorMessage); |
| 17361 | } else { |
| 17362 | exceptionHandler(errorMessage); |
| 17363 | } |
| 17364 | } |
| 17365 | } |
| 17366 | } |
| 17367 | |
| 17368 | function scheduleProcessQueue(state) { |
| 17369 | if (errorOnUnhandledRejections && !state.pending && state.status === 2 && !isStateExceptionHandled(state)) { |
nothing calls this directly
no test coverage detected