My scenario is that I have a BufferBlock<Stream> receiving a Stream from an external source, say a file system or some kind of FTP server. This Stream file will go to another block and pass processing.
The only catch is that some of these files are archived, and I would like to add a Block in the middle that would unzip the files if necessary and create some Stream output for each of its records.
However, I do not want to use TransformBlockMany , because this means that I have to completely get the ZIP Stream and immediately create the Stream array.
I would like this Block receive a ZIP Stream , start unpacking and Push to the next stream whenever Entry is ready, so the Process Block can start processing immediately after unpacking the first file, and not wait until everything is unpacked.
How do I get around this?
source share