Function until

  • Parameters

    • check: (() => boolean | Promise<boolean>)
        • (): boolean | Promise<boolean>
        • Returns boolean | Promise<boolean>

    • pollInterval: number = 1

    Returns Promise<void>