hammerspoon2-docs
    Preparing search index...

    Function doEvery

    • Create and start a repeating timer

      Parameters

      • interval: number

        The interval in seconds at which the timer should fire

      • callback: () => void

        A JavaScript function to call when the timer fires

      Returns HSTimer

      A timer object (already started)