MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / refresh

Function refresh

src/stores/apiServer.ts:292–294  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

290 }
291
292 async function refresh() {
293 await Promise.all([fetchConfig(), fetchStatus(), fetchDataSources()])
294 }
295
296 async function setEnabled(enabled: boolean) {
297 loading.value = true

Callers

nothing calls this directly

Calls 4

fetchConfigFunction · 0.85
fetchStatusFunction · 0.85
fetchDataSourcesFunction · 0.85
allMethod · 0.65

Tested by

no test coverage detected