Community JavaScript Snippet
A Server-Sent Events Consumer That Reconnects
The Node-friendly SSE client I write whenever the browser `EventSource` is the wrong tool. Parses the line protocol by hand, resumes from `Last-Event-ID`, and applies bounded backoff between retries.
