Function pausable

Source
pub fn pausable<St>(stream: St) -> (Pausable<St>, Valve)
where St: Stream,
Expand description

Create a pausable stream, which can be paused or resumed by a valve.