Skip to main content

SendableEvaluatedSeriesStream

Type Alias SendableEvaluatedSeriesStream 

Source
pub type SendableEvaluatedSeriesStream = Pin<Box<dyn Stream<Item = Result<(Series, bool), BoxedError>> + Send>>;
Expand description

A stream of evaluated series chunks and their finality.

The pair is what an evaluated producer has and an evaluated consumer needs: the values on their absolute grid positions, and whether this chunk closed the chain it belongs to. It is deliberately not a third runtime chunk type - Series is the runtime value, and finality is the one fact a chunk has to carry besides it.

Aliased Typeยง

#[repr(transparent)]
pub struct SendableEvaluatedSeriesStream { /* private fields */ }