Note: Nodes are exclusively for Erlang-Red, not to be used with Node-RED.
Erlang has the concept of workers and Supervisors, together they build a process tree that is self-healing.
A supervisor is designed to monitor a number of child processes (either workers or fellow supervisors) and when one or more fail, the supervisor is responsible for restarting the process.
This node allows for the definition of dynamic supervisors to monitor a set of nodes (which in ErlangRED are all processes) and restart as necessary.
For more details, Erlang Documentation.
Example usage in a flow.
Node for defining the code for an erlang module.
Node for defining a state machine as a node. This uses an erlmodule node as handler, so that the state machine can be completely defined inside of Erlang-Red. Example usage in a flow.
Event handler gen_event.
- NPMjs Package
- Node-RED node package
- GitHub Repo
- Node-RED flow that maintains this codebase.