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

Function processChecks

lib/test/angular/1.8.0/angular.js:18035–18049  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 4

isStateExceptionHandledFunction · 0.70
toDebugStringFunction · 0.70
isErrorFunction · 0.70

Tested by

no test coverage detected