From ab3c9767135aeb0c980f4c1adb4379f0329c685b Mon Sep 17 00:00:00 2001 From: Peter Mertz Date: Fri, 24 Mar 2017 11:22:12 -0400 Subject: [PATCH] docs($interval): Update interval promise docs It's currently not clear when or why the promise returned by `$interval` resolves. This updates the docs to be more specific. --- src/ng/interval.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/interval.js b/src/ng/interval.js index f42a87bf972a..673df2d4ef51 100644 --- a/src/ng/interval.js +++ b/src/ng/interval.js @@ -41,7 +41,7 @@ function $IntervalProvider() { * @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise * will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block. * @param {...*=} Pass additional parameters to the executed function. - * @returns {promise} A promise which will be notified on each iteration. + * @returns {promise} A promise which will be notified on each iteration. It will resolve once all iterations of the interval complete. * * @example *