mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
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. |
||
---|---|---|
.. | ||
.DS_Store | ||
10-switch.html | ||
10-switch.js | ||
15-change.html | ||
15-change.js | ||
16-range.html | ||
16-range.js | ||
17-split.html | ||
17-split.js | ||
18-sort.html | ||
18-sort.js | ||
19-batch.html | ||
19-batch.js |