(sessionID: string)
| 184 | } |
| 185 | |
| 186 | function remove(sessionID: string) { |
| 187 | const key = `${sessionID}:conversation` |
| 188 | const entry = pool.get(key) |
| 189 | if (!entry) return |
| 190 | invalidate(entry) |
| 191 | pool.delete(key) |
| 192 | } |
| 193 | |
| 194 | return Object.assign(websocketFetch, { close, remove }) |
| 195 | } |
nothing calls this directly
no test coverage detected