Skip to main content

watch

Function watch 

Source
pub async fn watch<T: Transport>(
    session: &mut Session<T, Board>,
    settings: Watch,
    console: &mut Console<impl BufRead, impl Write>,
) -> Result<()>
Expand description

Reads lines until the input ends, running one turn per line.

quit and end-of-input both stop it.