node-red/packages/node_modules
Gerrit Riessen e1f2e0656b
Client Events: fix off-in-on pattern emulating once
This fixes an issue when RED.events.off(..) is called in a RED.events.on(..) callback:

```
let cb = () => {
  RED.events.off("event-name", cb)
  ....
}
RED.events.on("event-name", cb)
```

This pattern emulates a once(..), i.e., execute a callback once-only for an event.

Discussed in [Forum](https://discourse.nodered.org/t/event-offing-an-on-event-to-perform-only-once/83726)
2023-12-15 10:54:11 +01:00
..
@node-red Client Events: fix off-in-on pattern emulating once 2023-12-15 10:54:11 +01:00
node-red Bump for 3.1.3 release 2023-12-07 18:27:33 +00:00