Skip to main content

stream_event_for

Function stream_event_for 

Source
pub(super) fn stream_event_for(
    value: StreamItem,
) -> Option<ChatbotChatStreamEvent>
Expand description

The wire event a StreamItem becomes, or None for an item that has no shape on the wire (a Message item, which is reported through the text-delta path instead).