MCPcopy
hub / github.com/angular-ui/ui-router / processChecks

Function processChecks

test/angular/1.6/angular.js:17352–17366  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17350 }
17351
17352 function processChecks() {
17353 // eslint-disable-next-line no-unmodified-loop-condition
17354 while (!queueSize && checkQueue.length) {
17355 var toCheck = checkQueue.shift();
17356 if (!isStateExceptionHandled(toCheck)) {
17357 markQStateExceptionHandled(toCheck);
17358 var errorMessage = 'Possibly unhandled rejection: ' + toDebugString(toCheck.value);
17359 if (isError(toCheck.value)) {
17360 exceptionHandler(toCheck.value, errorMessage);
17361 } else {
17362 exceptionHandler(errorMessage);
17363 }
17364 }
17365 }
17366 }
17367
17368 function scheduleProcessQueue(state) {
17369 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