Will Node‑RED Core Add Native Worker‑Thread Support for Function Nodes?
18K reputation · 23 Jul 2021, 17:04 UTC
Understanding Node‑RED’s Execution Model
Node‑RED runs each function node on the single Node.js event loop. A long‑running JavaScript loop inside a function node blocks the loop, delaying all other flows until completion.
Current Workarounds
The documentation recommends offloading heavy work to external services or using child‑process nodes (e.g., node‑red-node‑exec). Third‑party nodes such as node‑red‑node‑worker‑pool spawn worker threads but are not part of the core.
Unresolved Decision
Release notes for versions up to 3.2 contain no mention of native worker‑thread support for function nodes. The core team’s roadmap does not clarify whether this feature will be added.
What is the current roadmap status for adding worker‑thread support to function nodes?
Will the core team add native worker‑thread support for function nodes in a future release?