Ciorent
Preparing search index...
Other utilities
sequential
Function sequential
sequential
<
const
T
extends
any
[]
>
(
n
:
number
,
task
:
(
...
args
:
[
...
T
[]
,
id
:
number
]
)
=>
Promise
<
any
>
,
...
args
:
T
,
)
:
Promise
<
void
>
Spawn n sequential task
Type Parameters
const
T
extends
any
[]
Parameters
n
:
number
task
:
(
...
args
:
[
...
T
[]
,
id
:
number
]
)
=>
Promise
<
any
>
The function to run
...
args
:
T
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Ciorent
Loading...
Spawn n sequential task