pengyuqin
Results
1
issues of
pengyuqin
``` constructor(private _mqttService: MqttService ) {} ngOnInit(): void { this._mqttService.connect(); this.getMessage(); } getMessage() { this.mqttSubscription = this._mqttService .observe(key) .subscribe((message: IMqttMessage) => { console.log(message.payload.toString()); }); } ``` app.module ``` export const...