@bodil/core
System
Light
Dark
Search…
Preparing search index...
async
sleep
Function sleep
sleep
(
duration
:
number
|
Duration
)
:
Promise
<
void
>
Return a promise that will resolve after the specified number of milliseconds or
Temporal.Duration
.
Parameters
duration
:
number
|
Duration
Returns
Promise
<
void
>
@bodil/core - v0.5.6
Loading...
Return a promise that will resolve after the specified number of milliseconds or Temporal.Duration.