()
| 197 | } |
| 198 | |
| 199 | const cancelRequest = async () => { |
| 200 | if (cancelled) return |
| 201 | cancelled = true |
| 202 | await binding.wsV2Cancel?.(sessionId, requestId).catch(() => {}) |
| 203 | } |
| 204 | |
| 205 | const cancelAndClose = async () => { |
| 206 | await cancelRequest() |
no outgoing calls
no test coverage detected