diff options
author | Alex Early <alexander.early@gmail.com> | 2016-09-09 11:32:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-09 11:32:25 -0700 |
commit | 166b856617380319395a14c691c79b71566b042c (patch) | |
tree | 9ebdc58b7e4f781c69ec08e6039204052779483f | |
parent | f49d94feeb0171f48ad517ae5db599abc8dc5c29 (diff) | |
parent | 18b75161ddaa65f2e715431ae768a225f3be9e41 (diff) | |
download | async-166b856617380319395a14c691c79b71566b042c.tar.gz |
Merge pull request #1280 from hairyhenderson/fix-whilst-doc-inconsistency
Fixing inconsistency in whilst jsdoc
-rw-r--r-- | lib/whilst.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/whilst.js b/lib/whilst.js index 31c5c82..f3bd582 100644 --- a/lib/whilst.js +++ b/lib/whilst.js @@ -4,7 +4,7 @@ import rest from 'lodash/_baseRest'; import onlyOnce from './internal/onlyOnce'; /** - * Repeatedly call `fn`, while `test` returns `true`. Calls `callback` when + * Repeatedly call `iteratee`, while `test` returns `true`. Calls `callback` when * stopped, or an error occurs. * * @name whilst @@ -13,13 +13,13 @@ import onlyOnce from './internal/onlyOnce'; * @method * @category Control Flow * @param {Function} test - synchronous truth test to perform before each - * execution of `fn`. Invoked with (). + * execution of `iteratee`. Invoked with (). * @param {Function} iteratee - A function which is called each time `test` passes. * The function is passed a `callback(err)`, which must be called once it has * completed with an optional `err` argument. Invoked with (callback). * @param {Function} [callback] - A callback which is called after the test - * function has failed and repeated execution of `fn` has stopped. `callback` - * will be passed an error and any arguments passed to the final `fn`'s + * function has failed and repeated execution of `iteratee` has stopped. `callback` + * will be passed an error and any arguments passed to the final `iteratee`'s * callback. Invoked with (err, [results]); * @returns undefined * @example |