MCPcopy Create free account
hub / github.com/angular-ui/ui-router / tick

Function tick

test/angular/1.7/angular.js:14257–14271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14255 }
14256
14257 function tick() {
14258 if (skipApply) {
14259 $browser.defer(callback);
14260 } else {
14261 $rootScope.$evalAsync(callback);
14262 }
14263 deferred.notify(iteration++);
14264
14265 if (count > 0 && iteration >= count) {
14266 deferred.resolve(iteration);
14267 clearIntervalFn(promise.$$intervalId);
14268 }
14269
14270 if (!skipApply) $rootScope.$apply();
14271 }
14272
14273 promise.$$intervalId = setIntervalFn(tick, delay, deferred, skipApply);
14274

Callers 1

setIntervalFnFunction · 0.70

Calls 1

clearIntervalFnFunction · 0.70

Tested by

no test coverage detected