Skip to main content

read_loop

Function read_loop 

Source
pub(super) async fn read_loop(
    socket: Arc<UnixSeqpacket>,
    attach: SharedContainerAttach,
    token: CancellationToken,
) -> Result<()>
Expand description

Forward the stdin of a client until it closes, the stdin of the container got closed or the container exited, which cancels token.