Response Handler
function receiver(response)
{
console.log("Received a message on the subscribed topic ", response)
state.received++;
state.recv_queue.push(response);
}
function(response)
{
//response.topic - The MQTT topic on which subscription has been received
//response.message - A buffer object which is sent for the subscription
}Last updated
Was this helpful?
