()
| 17165 | } |
| 17166 | |
| 17167 | function processChecks() { |
| 17168 | // eslint-disable-next-line no-unmodified-loop-condition |
| 17169 | while (!queueSize && checkQueue.length) { |
| 17170 | var toCheck = checkQueue.shift(); |
| 17171 | if (!isStateExceptionHandled(toCheck)) { |
| 17172 | markQStateExceptionHandled(toCheck); |
| 17173 | var errorMessage = 'Possibly unhandled rejection: ' + toDebugString(toCheck.value); |
| 17174 | if (isError(toCheck.value)) { |
| 17175 | exceptionHandler(toCheck.value, errorMessage); |
| 17176 | } else { |
| 17177 | exceptionHandler(errorMessage); |
| 17178 | } |
| 17179 | } |
| 17180 | } |
| 17181 | } |
| 17182 | |
| 17183 | function scheduleProcessQueue(state) { |
| 17184 | if (errorOnUnhandledRejections && !state.pending && state.status === 2 && !isStateExceptionHandled(state)) { |
nothing calls this directly
no test coverage detected