| 1 | /* WebSocket, push-event pattern (streaming, so `bind_event` + `receive()` like `dom`). */ |
| 2 | |
| 3 | export default ({ sockets, allocSocket, socket }, { pushEvent }) => ({ |
| 4 | /* `ws_open(url, msg)` -> socket handle. Every event (open/message/close/error) arrives via `receive()` tagged `msg`. */ |
nothing calls this directly
no test coverage detected