Skip to main content

DeltaSink

Type Alias DeltaSink 

Source
pub type DeltaSink<'a> = &'a mut dyn FnMut(&str);
Expand description

Text as it arrives, handed over before the answer is complete.

A delta is for watching, never for deciding. Nothing downstream may parse one, validate one, or bind one to a name: the value a run uses is always assembled from the finished response and validated whole. See Runtime 0.3 ยง2.