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

Function scheduleProcessQueue

test/angular/1.6/angular.js:17368–17379  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

17366 }
17367
17368 function scheduleProcessQueue(state) {
17369 if (errorOnUnhandledRejections && !state.pending && state.status === 2 && !isStateExceptionHandled(state)) {
17370 if (queueSize === 0 && checkQueue.length === 0) {
17371 nextTick(processChecks);
17372 }
17373 checkQueue.push(state);
17374 }
17375 if (state.processScheduled || !state.pending) return;
17376 state.processScheduled = true;
17377 ++queueSize;
17378 nextTick(function() { processQueue(state); });
17379 }
17380
17381 function resolvePromise(promise, val) {
17382 if (promise.$$state.status) return;

Callers 3

qFactoryFunction · 0.70
$$resolveFunction · 0.70
$$rejectFunction · 0.70

Calls 3

isStateExceptionHandledFunction · 0.70
nextTickFunction · 0.70
processQueueFunction · 0.70

Tested by

no test coverage detected