MCPcopy
hub / github.com/electerm/electerm / fetchData

Function fetchData

src/client/store/sync.js:25–35  ·  view source on GitHub ↗
(type, func, args, token, proxy)

Source from the content-addressed store, hash-verified

23}
24
25async function fetchData (type, func, args, token, proxy) {
26 const data = {
27 type,
28 action: 'sync',
29 func,
30 args,
31 token,
32 proxy
33 }
34 return fetch(data)
35}
36
37function updateSyncServerStatusFromGist (store, gist, type) {
38 const statusContent = get(gist, 'files["electerm-status.json"].content')

Callers 1

sync.jsFile · 0.70

Calls 1

fetchFunction · 0.85

Tested by

no test coverage detected