Skip to main content

Module stream

Module stream 

Source
Expand description

Stream processing utilities Infrastructure supporting converting a collection of PeerId split libp2p_stream managed individual peer-to-peer libp2p::swarm::Streams.

Structsยง

PeerSink ๐Ÿ”’
Per-peer egress buffer: a bounded MPSC crossfire channel.

Functionsยง

process_stream_protocol
spawn_stream_pumps ๐Ÿ”’
Spawn the write and read pump tasks for an open peer stream.

Type Aliasesยง

PeerStreamCache ๐Ÿ”’