summaryrefslogtreecommitdiff
path: root/lib/index.js
diff options
context:
space:
mode:
authorAlex Early <alexander.early@gmail.com>2018-07-10 20:57:10 -0700
committerGitHub <noreply@github.com>2018-07-10 20:57:10 -0700
commitbf7f054ca8801d4540fe49f7a4bb5d0575a53769 (patch)
treedf0154002fa0d56153b46df65aea39ec5e79d8f9 /lib/index.js
parent00fe45e092fa1bb1f4c27d078c7a467f53e17b03 (diff)
downloadasync-bf7f054ca8801d4540fe49f7a4bb5d0575a53769.tar.gz
breaking: remove during, make test functions in until/whilst async (#1557)
* remove during, make test functions in until/whilst async * add during aliases fix docs * regenerate index
Diffstat (limited to 'lib/index.js')
-rw-r--r--lib/index.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/index.js b/lib/index.js
index 0eee7bd..146f395 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -79,10 +79,8 @@ import detect from './detect'
import detectLimit from './detectLimit'
import detectSeries from './detectSeries'
import dir from './dir'
-import doDuring from './doDuring'
import doUntil from './doUntil'
import doWhilst from './doWhilst'
-import during from './during'
import each from './each'
import eachLimit from './eachLimit'
import eachOf from './eachOf'
@@ -158,10 +156,8 @@ export default {
detectLimit,
detectSeries,
dir,
- doDuring,
doUntil,
doWhilst,
- during,
each,
eachLimit,
eachOf,
@@ -242,7 +238,9 @@ export default {
select: filter,
selectLimit: filterLimit,
selectSeries: filterSeries,
- wrapSync: asyncify
+ wrapSync: asyncify,
+ during: whilst,
+ doDuring: doWhilst
};
export {
@@ -262,10 +260,8 @@ export {
detectLimit as detectLimit,
detectSeries as detectSeries,
dir as dir,
- doDuring as doDuring,
doUntil as doUntil,
doWhilst as doWhilst,
- during as during,
each as each,
eachLimit as eachLimit,
eachOf as eachOf,
@@ -346,6 +342,8 @@ export {
filter as select,
filterLimit as selectLimit,
filterSeries as selectSeries,
- asyncify as wrapSync
+ asyncify as wrapSync,
+ whilst as during,
+ doWhilst as doDuring
};