GitHub
Jupyter
Preparing search index...
The search index is not available
@jupyterlab
@jupyterlab
@jupyterlab/testing
sleep
Function sleep
sleep
(
milliseconds
?:
number
)
:
Promise
<
void
>
Return a promise that resolves in the given milliseconds with the given value.
Parameters
Optional
milliseconds
:
number
Returns
Promise
<
void
>
sleep
<
T
>
(
milliseconds
:
number
,
value
:
T
)
:
Promise
<
T
>
Return a promise that resolves in the given milliseconds with the given value.
Type Parameters
T
Parameters
milliseconds
:
number
value
:
T
Returns
Promise
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
Jupyter
@jupyterlab
Loading...
Return a promise that resolves in the given milliseconds with the given value.