The time to sleep, in seconds.
Optionalabort: Maybe<ReadonlyAbort>
If provided, will reject the returned promise with the signal's abort reason when aborted. If the signal is already aborted and time is less than or equal to zero, the abort signal takes precedence.
Returns a promise that resolves after the given amount of time.
Usage example: