1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

split node - add comment to info re $N being number of messages arriving

This commit is contained in:
Dave Conway-Jones 2021-04-12 09:47:18 +01:00
parent 858b3d640a
commit 4672d98e8a
No known key found for this signature in database
GPG Key ID: 88BA2B8A411BE9FF

View File

@ -91,7 +91,7 @@
</ul> </ul>
</dd> </dd>
<dt class="optional">complete</dt> <dt class="optional">complete</dt>
<dd>If set, the node will append the payload, and then send the output message in its current state. <dd>If set, the node will append the payload, and then send the output message in its current state.
If you don't wish to append the payload, delete it from the msg.</dd> If you don't wish to append the payload, delete it from the msg.</dd>
</dl> </dl>
<h3>Details</h3> <h3>Details</h3>
@ -150,6 +150,7 @@
<p>By default, the reduce expression is applied in order, from the first <p>By default, the reduce expression is applied in order, from the first
to the last message of the sequence. It can optionally be applied in to the last message of the sequence. It can optionally be applied in
reverse order.</p> reverse order.</p>
<p>$N is the number of messages that arrive - even if they are identical.</p>
</dl> </dl>
<p><b>Example:</b> the following settings, given a sequence of numeric values, <p><b>Example:</b> the following settings, given a sequence of numeric values,
calculates the average value: calculates the average value: