I'm imagining: yield the headers (Content-Type: text/event-stream) the first time, yield the newline-formatted event streams on subsequent yields.
I haven't done it though, I used to really like SSE (it's a little more REST-y) but the world seems to have decided on websockets.