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

Function scheduleProcessQueue

lib/test/angular/1.6.7/angular.js:17183–17194  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

17181 }
17182
17183 function scheduleProcessQueue(state) {
17184 if (errorOnUnhandledRejections && !state.pending && state.status === 2 && !isStateExceptionHandled(state)) {
17185 if (queueSize === 0 && checkQueue.length === 0) {
17186 nextTick(processChecks);
17187 }
17188 checkQueue.push(state);
17189 }
17190 if (state.processScheduled || !state.pending) return;
17191 state.processScheduled = true;
17192 ++queueSize;
17193 nextTick(function() { processQueue(state); });
17194 }
17195
17196 function resolvePromise(promise, val) {
17197 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