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

Function scheduleProcessQueue

lib/test/angular/1.7.0/angular.js:17412–17423  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

17410 }
17411
17412 function scheduleProcessQueue(state) {
17413 if (errorOnUnhandledRejections && !state.pending && state.status === 2 && !isStateExceptionHandled(state)) {
17414 if (queueSize === 0 && checkQueue.length === 0) {
17415 nextTick(processChecks);
17416 }
17417 checkQueue.push(state);
17418 }
17419 if (state.processScheduled || !state.pending) return;
17420 state.processScheduled = true;
17421 ++queueSize;
17422 nextTick(function() { processQueue(state); });
17423 }
17424
17425 function resolvePromise(promise, val) {
17426 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