UNPKG
@cc-heart/utils
Version:
latest (6.0.1)
6.0.1
6.0.0
5.3.1
5.3.0
5.2.1
5.2.0
5.1.1
5.1.0
5.0.2
5.0.0
4.1.5
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.6
4.0.5
4.0.4
4.0.3
4.0.1
4.0.0
3.1.0
3.0.1
3.0.0
2.0.17
2.0.16
2.0.15
2.0.14
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.2.12
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.20
1.1.18
1.1.17
1.1.16
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
🔧 javascript common tools collection
github.com/cc-hearts/utils
cc-hearts/utils
@cc-heart/utils
/
dist
/
types
/
hooks
/
useConcurrency.d.ts
4 lines
(3 loc)
•
157 B
TypeScript
View Raw
1
2
3
4
import
{ fn }
from
'../helper'
;
declare
function
useConcurrency
(
tasks
:
Array
<fn>,
maxConcurrency
:
number
):
Promise
<
any
[] |
null
>;
export
{ useConcurrency };