Comments (2)
@lostinthestory the node is not expected to vary the number of outputs.
When you pass an array to node.send, each element in that array maps to an output of the node. If one of those elements in the array is itself an array of messages, each of those messages is sent to that output, one at a time.
If you look at where the 4sq node constructs what it passes to node.send in multiple messages case, you can see it builds an array of messages here, but then wraps that in array before passing to node.send here.
The net effect is that If multiple messages are required, they are all emitted one at a time from the single output.
from node-red-web-nodes.
Ah ha!
Thanks @knolleary, I didn't notice it was being passed as a double array despite staring the code staring in the face.
I was trying to use the same approach elsewhere, and could not get more than the first msg unless I added additional output nodes.
from node-red-web-nodes.
Related Issues (20)
- Node-red-node-google authentication isdues HOT 3
- Google Calendar node doesn't rupport query parameters
- Please add output port to each of the three node-red-node-aws nodes. HOT 2
- node-red-node-aws nodes do not contain output ports HOT 2
- Dependency Issue with agent-base <6.0.0 and Node-RED 2.0
- openweathermap node option for imperial units?
- Calendar - all day events are not triggered by calendar in
- Openweathermap fails to install HOT 1
- openweathermap catchable errors HOT 2
- Openweathermap Dewpoint? HOT 2
- Auth times out every few days. HOT 1
- S3 on node-red-node-aws will not upload if account cannot access root directory of bucket HOT 2
- Calendar events with links (Google Meet) HOT 1
- Take input as msg parameter
- Google Calendar HOT 2
- Google contacts HOT 1
- node-red-node-google - Conference data HOT 1
- Dropbox refresh token HOT 19
- OpenWeatherMap Incomplete Pressure Data? HOT 1
- Darksky no longer supported HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-red-web-nodes.