Function waitRandom

  • Waits for a random amount of time.

    Parameters

    • minDuration: number = 1250

      Minimum amount of time to wait, in ms.

    Returns Promise<void>

    Will wait a random amount between base, and twice the base duration.

     await waitRandom();