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

Function refreshExpandedVMs

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

Source from the content-addressed store, hash-verified

550 }
551
552 async function refreshExpandedVMs() {
553 try {
554 for (const vmId of Array.from(expandedVMs.value.values()) as string[]) {
555 await loadVMDetails(vmId);
556 }
557 } catch (error) {
558 recordError('Error refreshing expanded VMs', error);
559 }
560 }
561
562 async function loadVMDetails(vmId: string) {
563 loadingVMDetails.value = true;

Callers 1

loadVMListFunction · 0.85

Calls 3

loadVMDetailsFunction · 0.85
recordErrorFunction · 0.85
fromMethod · 0.45

Tested by

no test coverage detected