Skip to main content

Output

Trait Output 

Source
pub trait Output {
    // Required method
    fn push(&self, change: Change, pusher: &dyn InputBase);

    // Provided methods
    fn reconcile(&self, _pusher: &dyn InputBase) { ... }
    fn has_reconcile(&self) -> bool { ... }
}
Expand description

An operator’s output (Output in operator.ts).

Pushing is two-phase. push propagates a change; once every change of a source push has propagated, reconcile lets bounded operators (Take) refill and push the rows that refill them.

Required Methods§

Source

fn push(&self, change: Change, pusher: &dyn InputBase)

Provided Methods§

Source

fn reconcile(&self, _pusher: &dyn InputBase)

Phase two. Sinks can ignore it; operators must forward it.

Source

fn has_reconcile(&self) -> bool

Whether the output has a phase two: false for a sink whose JS counterpart has no reconcile, such as a view, which pushes timed for the inspector skip (MeasurePushOperator).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§