Updated Design: Enhancements to Split Join nodes (markdown)

Dave Conway-Jones 2017-04-08 17:17:31 +01:00
parent 85acb2769e
commit 024234ccaa
1 changed files with 11 additions and 0 deletions

@ -1,6 +1,17 @@
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.
### 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
The Join node takes multiple messages and reassembles them into one.