mirror of https://github.com/node-red/node-red.git
Promises are expensive and should not be used in the main message handling path. The Switch node used them a lot if the node references context - with a lot of duplicate code to handle async and sync code paths. This change modifies the code to use callbacks throughout that are just as performant in either case. |
||
---|---|---|
.. | ||
@node-red | ||
node-red |