Finite duration in milliseconds; nonpositive values yield once asynchronously.
A promise that resolves when the final timer completes.
Timer scheduling is approximate. Each wait uses the remaining duration:
2 ** 31 - 1 ms.After non-final waits, recompute the remainder using performance.now().
Trust the final timer, including platform truncation of fractional milliseconds.
Returns a promise that settles after a timer delay without blocking other work.