@pleisto/active-support
Preparing search index...
sleep
Function sleep
sleep
<
T
extends
number
>
(
milliseconds
:
Positive
<
Integer
<
T
>
>
,
)
:
{
cancel
:
()
=>
void
;
promise
:
Promise
<
void
>
}
Sleeps for the specified amount of time.
Type Parameters
T
extends
number
Parameters
milliseconds
:
Positive
<
Integer
<
T
>
>
Returns
{
cancel
:
()
=>
void
;
promise
:
Promise
<
void
>
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@pleisto/active-support
Loading...
Sleeps for the specified amount of time.