MCPcopy Index your code
hub / github.com/angular-ui/ui-router / processChecks

Function processChecks

test/angular/1.7/angular.js:17970–17984  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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)) {

Callers

nothing calls this directly

Calls 4

isStateExceptionHandledFunction · 0.70
toDebugStringFunction · 0.70
isErrorFunction · 0.70

Tested by

no test coverage detected