Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Treatment consume

std/flow::consume


Generics

◻ T (any)

Inputs

⇥ stream: Stream<T>


Consume stream indefinitely.

Input stream is consumed indefinitely until it becomes closed by previous treatment.