pub fn encode_model_event_sse_response<T, S>(items: S) -> Response<Body>Expand description
Encode items as a text/event-stream response. items ending
(None from the underlying Stream) always means backpressure
overflow closed the channel (see module docs) — the last byte chunk
written is always the Error{unavailable} sentinel event.