Module stream
Expand description
Create asynchronous streams of data.
Functionsยง
- channel
- Creates a new [
Stream] that produces the items sent from aFutureto the [mpsc::Sender] provided to the closure. - try_
channel - Creates a new [
Stream] that produces the items sent from aFuturethat can fail to the [mpsc::Sender] provided to the closure.