()
| 17394 | } |
| 17395 | |
| 17396 | function processChecks() { |
| 17397 | // eslint-disable-next-line no-unmodified-loop-condition |
| 17398 | while (!queueSize && checkQueue.length) { |
| 17399 | var toCheck = checkQueue.shift(); |
| 17400 | if (!isStateExceptionHandled(toCheck)) { |
| 17401 | markQStateExceptionHandled(toCheck); |
| 17402 | var errorMessage = 'Possibly unhandled rejection: ' + toDebugString(toCheck.value); |
| 17403 | if (isError(toCheck.value)) { |
| 17404 | exceptionHandler(toCheck.value, errorMessage); |
| 17405 | } else { |
| 17406 | exceptionHandler(errorMessage); |
| 17407 | } |
| 17408 | } |
| 17409 | } |
| 17410 | } |
| 17411 | |
| 17412 | function scheduleProcessQueue(state) { |
| 17413 | if (errorOnUnhandledRejections && !state.pending && state.status === 2 && !isStateExceptionHandled(state)) { |
nothing calls this directly
no test coverage detected