hammerspoon2-docs
    Preparing search index...

    Function once

    • Register a listener that fires at most once, the next time the display configuration changes.

      Parameters

      • event: "change"

        The event to listen for

      • listener: () => void

        Called once, then automatically removed

      Returns void