Type alias MqttConnectionConnected

MqttConnectionConnected: ((session_present) => void)

Type declaration

    • (session_present): void
    • Listener signature for event emitted from an MqttClientConnection when the connection reaches an initial connected state

      Parameters

      • session_present: boolean

        true if the reconnection went to an existing session, false if this is a clean session

      Returns void

Generated using TypeDoc