Azure / azure-iot-sdk-node

A Node.js SDK for connecting devices to Microsoft Azure IoT services
https://docs.microsoft.com/en-us/azure/iot-hub/
Other
261 stars 227 forks source link

Doc: Sample code cleanup #1055

Closed BertKleewein closed 3 years ago

BertKleewein commented 3 years ago

Fixed some comments. Also, fixed places where the samples incorrectly assume that we always get an on("disconnect") event for every on("connect") event.

danhellem commented 3 years ago

@BertKleewein @vishnureddy17 is this PR ready to be merged?

vishnureddy17 commented 3 years ago

@BertKleewein @vishnureddy17 is this PR ready to be merged?

Not yet, there is still an error. EDIT: Resolved.