Sequence BlockStreamU128

std/flow/block::BlockStreamU128


Inputs

stream: Stream<u128>

Outputs

↦ block: Block<Vec<u128>>


Transform stream of u128 into a single vector block.

All the streamed values are added to a single vector, and once stream is over the vector is transmitted.

⚠️ 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.