Asynchronously pauses execution for a specified number of milliseconds.
The duration to sleep in milliseconds. If time is less than or equal to 0, the function resolves immediately.
time
A promise that resolves after the specified time has elapsed.
1.1.7
2021-12-11
Asynchronously pauses execution for a specified number of milliseconds.