hammerspoon2-docs
    Preparing search index...

    Function doUntil

    • Repeat a function/lambda until a given predicate function/lambda returns true

      Parameters

      • predicateFn: any

        A function/lambda to test if the timer should continue. Return True to end the timer, False to continue it

      • actionFn: any

        A function/lambda to call until the predicateFn returns true

      • checkInterval: any

        How often, in seconds, to call actionFn

      Returns void