()
| 3165 | ); |
| 3166 | |
| 3167 | const emit = () => { |
| 3168 | for (const event of events) { |
| 3169 | sendWsText(socket.handler, ["EVENT", subId, event]); |
| 3170 | } |
| 3171 | sendWsText(socket.handler, ["EOSE", subId]); |
| 3172 | }; |
| 3173 | |
| 3174 | emit(); |
| 3175 | } |
no test coverage detected