(code: number, reason: Buffer)
| 117 | } |
| 118 | |
| 119 | function onClose(code: number, reason: Buffer) { |
| 120 | cleanup() |
| 121 | reject(new Error(closeMessage("WebSocket closed before open", code, reason))) |
| 122 | } |
| 123 | |
| 124 | function onAbort() { |
| 125 | cleanup() |
nothing calls this directly
no test coverage detected