mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Updated Design: Enhancements to Split Join nodes (markdown)
parent
85acb2769e
commit
024234ccaa
@ -1,6 +1,17 @@
|
|||||||
The Split/Join node pair currently supports several modes and styles of operation.
|
The Split/Join node pair currently supports several modes and styles of operation.
|
||||||
The Split can handle Strings, Arrays, or Objects - and returns one msg for each split segment.
|
The Split can handle Strings, Arrays, or Objects - and returns one msg for each split segment.
|
||||||
|
|
||||||
|
### Split Node
|
||||||
|
|
||||||
|
The Split node takes a single message and (currently) creates multiple messages.
|
||||||
|
*Note* - currently that is the simple way to think of it... 1 in multiple out...
|
||||||
|
|
||||||
|
#### Proposal 1
|
||||||
|
|
||||||
|
Add `msg.complete` to the last message sent - so that if NOT using automatic join, the multiple parts can be reassembled into another form. For example a paragraph of text in - split into lines - fed directly back into a join could create an array of lines.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Join Node
|
### Join Node
|
||||||
|
|
||||||
The Join node takes multiple messages and reassembles them into one.
|
The Join node takes multiple messages and reassembles them into one.
|
||||||
|
Loading…
Reference in New Issue
Block a user