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

Function svStop

vmm/ui/src/composables/useVmManager.ts:1599–1607  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

1597 });
1598
1599 async function svStop(id: string) {
1600 try {
1601 await baseRpcCall('/prpc/SvStop', { id });
1602 await new Promise(r => setTimeout(r, 500));
1603 await loadSupervisorProcesses();
1604 } catch (error) {
1605 recordError('Failed to stop process', error);
1606 }
1607 }
1608
1609 async function svRemove(id: string) {
1610 try {

Callers

nothing calls this directly

Calls 3

baseRpcCallFunction · 0.85
loadSupervisorProcessesFunction · 0.85
recordErrorFunction · 0.85

Tested by

no test coverage detected