(conn: SidecarConnection)
| 143 | * state must never kill it. Spawned sidecars (`child` set) are stopped as before. |
| 144 | */ |
| 145 | const stopConnection = async (conn: SidecarConnection): Promise<void> => { |
| 146 | if (conn.supervisedDaemon || !conn.child) return; |
| 147 | await stopSidecar(conn.child); |
| 148 | }; |
| 149 | |
| 150 | const webUrlForConnection = (conn: SidecarConnection): string => { |
| 151 | const url = new URL(conn.baseUrl); |
no test coverage detected