risingwave_batch::task::channel

Trait ChanReceiver

source
pub(super) trait ChanReceiver: Send {
    // Required method
    async fn recv(&mut self) -> SharedResult<Option<DataChunkInChannel>>;
}

Required Methods§

source

async fn recv(&mut self) -> SharedResult<Option<DataChunkInChannel>>

Returns None if there’s no more data to read. Otherwise it will wait until there’s data.

Object Safety§

This trait is not object safe.

Implementors§