-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
50 lines (47 loc) · 1.13 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**
* @file await-the main interface
* @copyright Copyright (c) 2018 Olono, Inc.
*/
'use strict';
const all = require('./lib/all');
const any = require('./lib/any');
const callback = require('./lib/callback');
const deadline = require('./lib/deadline');
const doWhilst = require('p-do-whilst');
const each = require('./lib/each');
const every = require('./lib/every');
const Limiter = require('./lib/Limiter');
const map = require('./lib/map');
const mapValues = require('./lib/mapValues');
const result = require('./lib/result');
const multiResult = require('./lib/multiResult');
const retry = require('./lib/retry');
const awaitWhile = require('./lib/while');
const whileMax = require('./lib/whileMax');
const times = require('p-times');
const wait = require('./lib/wait');
const waterfall = require('p-waterfall');
const whilst = require('p-whilst');
module.exports = {
all,
any,
callback,
deadline,
doWhilst,
each,
end: all,
every,
Limiter,
map,
mapValues,
result,
multiResult,
retry,
some: any,
times,
wait,
waterfall,
whilst,
while: awaitWhile,
whileMax
};