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