Pauses for the given duration, clamping to the max safe setTimeout value.
Desired sleep duration in milliseconds.
Procedure indicating the wait completed.
Pauses for the given duration, clamping to the max safe setTimeout value.