• Pauses execution for the specified duration.

    Parameters

    • duration: number

      Duration (in milliseconds) to pause for.

    Returns Promise<void>