Azure / Azure/azure-iot-hub-node
The sample code for samples/send_c2d_message.js has incorrect comment
Open
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
// Create a message and send it to the IoT Hub every second. -----> this just polls Iothub's C2D device queue.
setInterval(function () {
var data = JSON.stringify({ text : 'foo' });
var message = new Message(data);
console.log('Sending message: ' + message.getData());
client.send(targetDevice, message, printResultFor('send'));
}, 2000);
}
});
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.