Asynchronously pauses execution for the specified duration.
Non-positive delays resolve immediately without scheduling a timer.
The duration to sleep in milliseconds
A promise that resolves after the specified delay
Asynchronously pauses execution for the specified duration.
Non-positive delays resolve immediately without scheduling a timer.