Type alias MqttConnectionClosed

MqttConnectionClosed: ((callback_data) => void)

Type declaration

    • (callback_data): void
    • Listener signature for event emitted from an MqttClientConnection when the connection has been disconnected and shutdown successfully.

      Parameters

      • callback_data: OnConnectionClosedResult

        Data returned containing information about the closed/disconnected connection. Currently empty, but may contain data in the future.

      Returns void

Generated using TypeDoc