(conn: SidecarConnection)
| 134 | * state must never kill it. Spawned sidecars (`child` set) are stopped as before. |
| 135 | */ |
| 136 | const stopConnection = async (conn: SidecarConnection): Promise<void> => { |
| 137 | if (conn.supervisedDaemon || !conn.child) return; |
| 138 | await stopSidecar(conn.child); |
| 139 | }; |
| 140 | |
| 141 | const webUrlForConnection = (conn: SidecarConnection): string => { |
| 142 | const url = new URL(conn.baseUrl); |
no test coverage detected