()
| 18033 | } |
| 18034 | |
| 18035 | function processChecks() { |
| 18036 | // eslint-disable-next-line no-unmodified-loop-condition |
| 18037 | while (!queueSize && checkQueue.length) { |
| 18038 | var toCheck = checkQueue.shift(); |
| 18039 | if (!isStateExceptionHandled(toCheck)) { |
| 18040 | markQStateExceptionHandled(toCheck); |
| 18041 | var errorMessage = 'Possibly unhandled rejection: ' + toDebugString(toCheck.value); |
| 18042 | if (isError(toCheck.value)) { |
| 18043 | exceptionHandler(toCheck.value, errorMessage); |
| 18044 | } else { |
| 18045 | exceptionHandler(errorMessage); |
| 18046 | } |
| 18047 | } |
| 18048 | } |
| 18049 | } |
| 18050 | |
| 18051 | function scheduleProcessQueue(state) { |
| 18052 | if (errorOnUnhandledRejections && !state.pending && state.status === 2 && !isStateExceptionHandled(state)) { |
nothing calls this directly
no test coverage detected