milliseconds of the delay, or "infinite"
to wait indefinitely.
Optional
signal: AbortSignala signal used to cancel the returned Promise.
the specified signal
has been aborted. If the signal has been aborted with explicit reason,
the AbortSignal.reason will be thrown.
Gets a Promise that resolves after the specified duration.