Sequence BlockAllStream
std/flow/char::BlockAllStream
Inputs
⇥ stream: Stream<char>
Outputs
↦ block: Block<Vec<char>>
Transform whole stream of char
into a single vector block.
All the streamed values are added to a single vector, and once stream is over the vector is transmitted.
graph LR T(BlockAllStream) B["🟦 🟦 🟦 🟦 🟦 🟦"] -->|stream| T T -->|block| O["〈[🟦 🟦 🟦 🟦 🟦 🟦]〉"] style B fill:#ffff,stroke:#ffff style O fill:#ffff,stroke:#ffff
⚠️ As the stream values are continuously inserted in vector and so kept in memory, user should be really careful when using this treatment to not saturate memory.