Skip to main content

recover_live

Function recover_live 

Source
pub fn recover_live<S: AsRef<str>, T: AsRef<str>>(
    tail: &[S],
    live: &[T],
) -> Vec<Emit>
Expand description

What a start finds in output.live, left by a process that was killed mid-reply: tail is the last complete lines of output (their assistant lines say which blocks are already stored), live the held fragments. Returns what must be appended to output before output.live is emptied.