create_message_stream

Function create_message_stream 

Source
pub fn create_message_stream(
    text: &str,
) -> Pin<Box<dyn Stream<Item = Result<Message, SseCodecError>> + Send + Sync>>
Expand description

Creates a stream of Message instances from a text stream of SSE events.