1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
5 Output node feature definitions
zobalogh edited this page 2014-10-30 04:19:28 -07:00

This page defines the features and design conventions that each output node should adhere to. The page is currently under development and changes to its contents are possible. Once the behaviour is agreed upon, these conventions are going to be migrated onto the Node-RED website for easy reference. Only the website reference should be used as a blueprint.

Output nodes MUST:

  • Produce a clearly and well defined behaviour that affects some externals outside Node-RED

Output nodes SHOULD:

  • Report errors using node.warn() or node.error() if the external systems are in an unexpected state/behaviour
  • Clean up their state upon close node.on("close", function() {}

Output nodes COULD:

  • TBC