()
| 17968 | } |
| 17969 | |
| 17970 | function processChecks() { |
| 17971 | // eslint-disable-next-line no-unmodified-loop-condition |
| 17972 | while (!queueSize && checkQueue.length) { |
| 17973 | var toCheck = checkQueue.shift(); |
| 17974 | if (!isStateExceptionHandled(toCheck)) { |
| 17975 | markQStateExceptionHandled(toCheck); |
| 17976 | var errorMessage = 'Possibly unhandled rejection: ' + toDebugString(toCheck.value); |
| 17977 | if (isError(toCheck.value)) { |
| 17978 | exceptionHandler(toCheck.value, errorMessage); |
| 17979 | } else { |
| 17980 | exceptionHandler(errorMessage); |
| 17981 | } |
| 17982 | } |
| 17983 | } |
| 17984 | } |
| 17985 | |
| 17986 | function scheduleProcessQueue(state) { |
| 17987 | if (errorOnUnhandledRejections && !state.pending && state.status === 2 && !isStateExceptionHandled(state)) { |
nothing calls this directly
no test coverage detected