Module super_process::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

  • A handle to the result an asynchronous invocation.

Traits

  • Trait that defines “asynchronously” invokable processes.