Preparing search index...
The search index is not available
@pleisto/active-support
@pleisto/active-support
sleep
Function sleep
sleep
<
T
>
(
milliseconds
)
:
{
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
>
;
}
cancel
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
promise
:
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@pleisto/active-support
Loading...
Sleeps for the specified amount of time.