(handler: WsHandler)
| 2768 | } |
| 2769 | |
| 2770 | function sendWsClose(handler: WsHandler) { |
| 2771 | handler({ |
| 2772 | type: "Close", |
| 2773 | }); |
| 2774 | } |
| 2775 | |
| 2776 | function getChannelIdFromTags(tags: string[][]): string | undefined { |
| 2777 | return tags.find((tag) => tag[0] === "h")?.[1]; |
no test coverage detected