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
..
2023-12-07 18:19:37 +00:00
2018-10-25 11:18:13 +01:00
2018-08-17 22:10:54 +01:00
2022-01-27 12:49:48 +00:00
2023-12-07 18:27:33 +00:00
2018-08-21 13:43:11 +01:00

@node-red/editor-client

Node-RED editor resources module.

This provides all of the client-side resources of the Node-RED editor application.

Source

The main Node-RED modules are maintained as a monorepo on GitHub.