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

Function scheduleProcessQueue

test/angular/1.7/angular.js:17986–17997  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

17984 }
17985
17986 function scheduleProcessQueue(state) {
17987 if (errorOnUnhandledRejections && !state.pending && state.status === 2 && !isStateExceptionHandled(state)) {
17988 if (queueSize === 0 && checkQueue.length === 0) {
17989 nextTick(processChecks);
17990 }
17991 checkQueue.push(state);
17992 }
17993 if (state.processScheduled || !state.pending) return;
17994 state.processScheduled = true;
17995 ++queueSize;
17996 nextTick(function() { processQueue(state); });
17997 }
17998
17999 function resolvePromise(promise, val) {
18000 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