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.