()
| 111 | }) |
| 112 | }, |
| 113 | disconnect() { |
| 114 | rpcPromises.forEach((promise) => { |
| 115 | promise.reject( |
| 116 | new Error( |
| 117 | `transport was disconnected, cannot call ${JSON.stringify(promise.name)}`, |
| 118 | ), |
| 119 | ) |
| 120 | }) |
| 121 | rpcPromises.clear() |
| 122 | return transport.disconnect?.() |
| 123 | }, |
| 124 | send(data) { |
| 125 | return transport.send!(data) |
| 126 | }, |
nothing calls this directly
no test coverage detected