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