MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / refresh

Function refresh

frontend/src/hooks/useOverviewInfo.ts:67–74  ·  view source on GitHub ↗
(forceRequest = false)

Source from the content-addressed store, hash-verified

65 const newState = ref<ComputedOverviewResponse>();
66
67 const refresh = async (forceRequest = false) => {
68 newState.value = computeResponseData(
69 await result.execute({
70 forceRequest
71 })
72 );
73 return newState.value;
74 };
75
76 onMounted(async () => {
77 refresh();

Callers 5

useOverviewInfoFunction · 0.70
useRemoteNodeFunction · 0.70
addNodeFunction · 0.70
deleteNodeFunction · 0.70
updateNodeFunction · 0.70

Calls 1

computeResponseDataFunction · 0.85

Tested by

no test coverage detected