Classes
Methods
(static) sleep(time) → {Promise}
Returns a promise that is resolved after a given amount of time.
Parameters:
| Name | Type | Description |
|---|---|---|
time |
number |
The time to wait in milisenconds. |
Returns a promise that is resolved after a given amount of time.
| Name | Type | Description |
|---|---|---|
time |
number |
The time to wait in milisenconds. |