risingwave_stream::executor

Trait StreamConsumer

source
pub trait StreamConsumer: Send + 'static {
    type BarrierStream: Stream<Item = StreamResult<Barrier>> + Send;

    // Required method
    fn execute(self: Box<Self>) -> Self::BarrierStream;
}
Expand description

StreamConsumer is the last step in an actor.

Required Associated Types§

Required Methods§

source

fn execute(self: Box<Self>) -> Self::BarrierStream

Implementors§