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

Function scheduleProcessQueue

lib/test/angular/1.8.0/angular.js:18051–18062  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

18049 }
18050
18051 function scheduleProcessQueue(state) {
18052 if (errorOnUnhandledRejections && !state.pending && state.status === 2 && !isStateExceptionHandled(state)) {
18053 if (queueSize === 0 && checkQueue.length === 0) {
18054 nextTick(processChecks);
18055 }
18056 checkQueue.push(state);
18057 }
18058 if (state.processScheduled || !state.pending) return;
18059 state.processScheduled = true;
18060 ++queueSize;
18061 nextTick(function() { processQueue(state); });
18062 }
18063
18064 function resolvePromise(promise, val) {
18065 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