hammerspoon2-docs
    Preparing search index...

    Type Alias HSMQTTClientEvent

    HSMQTTClientEvent: "connected" | "disconnected" | "message"

    An event name for HSMQTTClient.on(), HSMQTTClient.off() and HSMQTTClient.once()

    • "connected": The client connected to the broker, including when it reconnects by itself
    • "disconnected": The client's connection to the broker closed
    • "message": A message arrived on a topic the client subscribed to