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

Function scheduler

test/angular/1.5/angular-animate.js:368–374  ·  view source on GitHub ↗
(tasks)

Source from the content-addressed store, hash-verified

366 var queue, cancelFn;
367
368 function scheduler(tasks) {
369 // we make a copy since RAFScheduler mutates the state
370 // of the passed in array variable and this would be difficult
371 // to track down on the outside code
372 queue = queue.concat(tasks);
373 nextTick();
374 }
375
376 queue = scheduler.queue = [];
377

Callers

nothing calls this directly

Calls 1

nextTickFunction · 0.70

Tested by

no test coverage detected