Skip to main content

read_msg

Function read_msg 

Source
pub(crate) async fn read_msg<T>(
    stream_id: UniqId,
    stream: impl Stream<Item = Result<AnyChanCell>> + Unpin,
) -> Result<T>
Expand description

Read a message from the stream.

The expecting parameter is used for logging purposes, not filtering.