Function simulateAsyncPause

  • Parameters

    • Optional duration: number

    Returns Promise<void>