Closed emil14 closed 2 years ago
It's not clear how (and is it even possible) to translate sub-streams to array-ports, but it's possible vice versa
Send 'opened bracket' message to sub-stream when first slot gets message and then send that message itself. When last slot gets message send that message and then send 'closed bracket' message.
There are nested sub-streams in FBP but no nested array-ports. Possible solutions:
It's not as bad as it may seem to call them "batch-based" structures. Lists, structs and dicts are also may be translated to sub-streams.
TODO think about list/dict/struct to substream adapter
Is it possible to have an "adapter" that is able to transform e.g. sub-stream to array-ports or batch-structures?