UNPKG
xpm
Version:
latest (0.23.2)
next (0.22.0)
test (0.23.2)
0.23.2
0.23.1
0.22.7
0.22.6
0.22.5
0.22.3
0.22.2
0.22.1
0.22.0
0.21.4
0.21.3
0.21.2
0.21.1
0.21.0
0.20.8
0.20.7
0.20.6
0.20.5
0.20.4
0.20.3
0.20.2
0.20.1
0.19.4
0.19.3
0.19.2
0.19.1
0.19.0
0.18.0
0.17.0
0.16.5
0.16.4
0.16.3
0.16.2
0.16.1
0.16.0
0.15.2
0.15.1
0.15.0
0.14.9
0.14.8
0.14.7
0.14.6
0.14.5
0.14.4
0.14.3
0.14.2
0.14.0
0.13.7
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.12.10
0.12.9
0.12.8
0.12.7
0.12.6
0.12.5
0.12.4
0.12.3
0.12.2
0.12.1
0.11.2
0.11.1
0.11.0
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.9.1
0.9.0
0.8.1
0.8.0
0.7.1
0.7.0
0.6.10
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.18
0.2.17
0.2.16
0.2.15
0.2.14
0.2.13
0.2.12
0.2.11
0.2.10
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.10
The xPack project manager command line tool
xpack.github.io/xpm/
xpack/xpm-js
xpm
/
node_modules
/
promise-call-limit
/
dist
/
commonjs
/
index.d.ts
7 lines
•
272 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
type
Step
<T> =
() =>
Promise
<T>;
export
type
Options
= {
limit
?:
number
;
rejectLate
?:
boolean
; };
export
declare
const
callLimit
: <T
extends
unknown
>
(
queue
:
Step
<T>[], { limit, rejectLate }?:
Options
) =>
Promise
<
unknown
>;
//# sourceMappingURL=index.d.ts.map