-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
breaking: remove during, make test functions in until/whilst async #1557
Conversation
lib/until.js
Outdated
@@ -13,15 +14,30 @@ import whilst from './whilst'; | |||
* @method | |||
* @see [async.whilst]{@link module:ControlFlow.whilst} | |||
* @category Control Flow | |||
* @param {Function} test - synchronous truth test to perform before each | |||
* execution of `iteratee`. Invoked with (). | |||
* @param {Function} test - asynchronous truth test to perform before each |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I think the parameter type is AsyncFunction
.
lib/doUntil.js
Outdated
* @param {Function} test - synchronous truth test to perform after each | ||
* execution of `iteratee`. Invoked with any non-error callback results of | ||
* `iteratee`. | ||
* @param {Function} test - asynchronous truth test to perform after each |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Sorry, same as before, I think the param type is AsyncFunction
.
LGTM. Should we add |
👏 |
Closes #850