Skip to main content

attach_loop

Function attach_loop 

Source
pub async fn attach_loop(
    stream: &mut Stream,
    job_id: JobId,
    quiet: bool,
    no_progress: bool,
) -> Result<(), CliError>
Expand description

Stream events from a connection and render them as the direct CLI would. Returns when EndOfStream arrives, when Ctrl-C detaches, or when the socket closes cleanly.