Creates a Promise that resolves after a specified number of seconds.
Optional
The number of seconds to wait (default: 2 seconds).
A Promise that resolves after the specified time.
Generated using TypeDoc
Creates a Promise that resolves after a specified number of seconds.