How can I show Event notification in the UI ? I am able to subscribe to the event in my API, but I dont know how to display the same in the UI. The following code I used in my API to subscribe the event emitted from Hyperledger-composer
.then(function(){
bizConn.on("event",evt =>{
console.log('---Event Received---');
temperature = evt.temperature;
console.log('Temperature : ', temperature)
})
This event is emitted when a particular transaction associated with this event is triggered. How can I distinguish between the normal transaction output and the event?
Let me know if I need to be more specific.