MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / watchVmList

Function watchVmList

vmm/ui/src/composables/useVmManager.ts:1410–1419  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1408 }
1409
1410 async function watchVmList() {
1411 while (true) {
1412 try {
1413 await loadVMList();
1414 } catch (error) {
1415 recordError('error loading VM list', error);
1416 }
1417 await new Promise((resolve) => setTimeout(resolve, 3000));
1418 }
1419 }
1420
1421 async function copyToClipboard(text: string) {
1422 try {

Callers 1

useVmManagerFunction · 0.85

Calls 2

loadVMListFunction · 0.85
recordErrorFunction · 0.85

Tested by

no test coverage detected