Skip to main content

fan

Function fan 

Source
pub fn fan(source: Stream) -> Fanout
Expand description

Splits source into a Fanout of two readers that each see all packets.

Packets pulled by one reader are buffered so the other reader still observes the full sequence regardless of read order.