Function Until

  • Wait until the condition is met or the given limit is reached (whichever is first).

    Parameters

    • condition: (() => boolean)
        • (): boolean
        • Returns boolean

    • interval: number = 0
    • limit: number = tenSeconds

    Returns Promise<boolean>

Generated using TypeDoc