MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / scheduler

Function scheduler

lib/test/angular/1.4.3/angular-animate.js:263–269  ·  view source on GitHub ↗
(tasks)

Source from the content-addressed store, hash-verified

261 var cancelFn;
262
263 function scheduler(tasks) {
264 // we make a copy since RAFScheduler mutates the state
265 // of the passed in array variable and this would be difficult
266 // to track down on the outside code
267 tickQueue.push([].concat(tasks));
268 nextTick();
269 }
270
271 /* waitUntilQuiet does two things:
272 * 1. It will run the FINAL `fn` value only when an uncancelled RAF has passed through

Callers

nothing calls this directly

Calls 1

nextTickFunction · 0.70

Tested by

no test coverage detected