(key: ServerConnection.Key)
| 283 | const projects = createServerProjects({ scope, store, setStore }) |
| 284 | const projectStores = new Map<ServerConnection.Key, ReturnType<typeof createServerProjects>>() |
| 285 | const projectsForServer = (key: ServerConnection.Key) => { |
| 286 | const existing = projectStores.get(key) |
| 287 | if (existing) return existing |
| 288 | const next = createServerProjects({ scope: () => scope(key), store, setStore }) |
| 289 | projectStores.set(key, next) |
| 290 | return next |
| 291 | } |
| 292 | const current: Accessor<ServerConnection.Any | undefined> = createMemo( |
| 293 | () => allServers().find((s) => ServerConnection.key(s) === state.active) ?? allServers()[0], |
| 294 | ) |
nothing calls this directly
no test coverage detected