• Creates a Promise that resolves after a specified number of seconds.

    Parameters

    • Optional seconds: number

      The number of seconds to wait (default: 2 seconds).

    Returns Promise<void>

    A Promise that resolves after the specified time.

Generated using TypeDoc