in client/src/lib/iot-client.js [30:42]
constructor(createNewClient = false, options = {}) {
if (createNewClient && instance) {
instance.disconnect();
instance = null;
}
if (instance) {
return instance;
}
instance = this;
this.initClient(options);
this.attachDebugHandlers();
}