Internals of streamDiscard¶
The streamDiscard module
works as a sink of stream(s).
It basically reads all inputs and discard them.
Users can use streamOneToN’s
option to route data to this module to do dynamic data removal.
Three variants have been implemented, handling normal stream or synchronized streams.
The code implementation is a simple