Preparing search index...
The search index is not available
@hat-open/util
@hat-open/util
delay
Function delay
delay
<
TArgs
,
TResult
>
(
fn
,
t
?
,
...
args
)
:
Promise
<
TResult
>
Delay function call
fn(...args)
for
t
milliseconds
Type Parameters
TArgs
extends
any
[]
TResult
Parameters
fn
:
(
(
...
args
)
=>
TResult
)
(
...
args
)
:
TResult
Parameters
Rest
...
args
:
TArgs
Returns
TResult
t
:
number
= 0
Rest
...
args
:
TArgs
Returns
Promise
<
TResult
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@hat-open/util
Loading...
Delay function call
fn(...args)
fort
milliseconds