Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit f3aa1d1

Browse files
trezmgkalpak
authored andcommitted
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. Closes #15862
1 parent 80077f3 commit f3aa1d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/interval.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function $IntervalProvider() {
4141
* @param {boolean=} [invokeApply=true] If set to `false` skips model dirty checking, otherwise
4242
* will invoke `fn` within the {@link ng.$rootScope.Scope#$apply $apply} block.
4343
* @param {...*=} Pass additional parameters to the executed function.
44-
* @returns {promise} A promise which will be notified on each iteration.
44+
* @returns {promise} A promise which will be notified on each iteration. It will resolve once all iterations of the interval complete.
4545
*
4646
* @example
4747
* <example module="intervalExample" name="interval-service">

0 commit comments

Comments
 (0)