| 1 | /* Server-Sent Events, push-event pattern (one-way streaming, native browser `EventSource`). */ |
| 2 | |
| 3 | export default ({ sseSources, allocSse, sse }, { pushEvent }) => ({ |
| 4 | /* `sse_open(url, msg, options_json?)` -> handle. `options_json` accepts `{ withCredentials: bool }`. Every event (open/message/error) arrives via `receive()` tagged `msg`. */ |