Skip to content

inoc603/node-red-contrib-yield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-red-contrib-yield

This simple node sends messages passed from msg.payload separately down the flow. With this node, you can send multiple messages to the next node without having multiple outputs. The number of outputs is also dynamic.

You can turn this

before

into this:

before

Just pass in an array of messages as payload like shown in the flowing example:

msg.payload = [
  {
    topic: 'topic-1',
    payload: 'payload-1',
  },
  {
    topic: 'topic-2',
    payload: 'payload-2',
  },
  ...
]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published