Skip to main content

drive

Function drive 

Source
pub async fn drive(renderer: Box<dyn OutputRenderer>, rx: Receiver<BuildEvent>)
Expand description

Drive a renderer from an mpsc stream of events.

Consumes events until the channel closes or a BuildEnd is seen. Mirrors the local broadcast output_subscriber loop, but for a single-consumer channel (used by the cloud path).