Module stream

Source
Expand description

Methods to execute a process in an “asynchronous” or “streaming” fashion.

TODO: define a generic stream type like the Emission trait in learning-progress-bar, then express the stdio lines stream in terms of the stdio byte chunks stream! We avoid doing that here because we expect using a BufReader to produce StdioLines will be more efficient and cleaner than manually implementing a BufReader with async-channel or something.

Structs§

Streaming
A handle to the result an asynchronous invocation.

Traits§

Streamable
Trait that defines “asynchronously” invokable processes.