Ah right - RED.events
is an instance of EventEmitter - https://nodejs.org/docs/latest-v10.x/api/events.html
The only way to remove an event listener is by holding a reference to the function to pass it to RED.events.removeListener(...)
.
Ah right - RED.events
is an instance of EventEmitter - https://nodejs.org/docs/latest-v10.x/api/events.html
The only way to remove an event listener is by holding a reference to the function to pass it to RED.events.removeListener(...)
.