Closed DhivinX closed 4 years ago
How to clear listener in NodeJS (MicroService) of LiquidCore.on()? In java it is possible by service.removeEventListener(), how do it in javascript node?
Can't see method LiquidCore.off() like in socket.io.
The LiquidCore javascript object is just an events object. You can call LiquidCore.removeListener().
LiquidCore
events
LiquidCore.removeListener()
Thanks this is it!
How to clear listener in NodeJS (MicroService) of LiquidCore.on()? In java it is possible by service.removeEventListener(), how do it in javascript node?
Can't see method LiquidCore.off() like in socket.io.