MCPcopy
hub / github.com/callstack/agent-device / resolve

Function resolve

src/utils/scoped-provider.ts:16–18  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

14
15 return {
16 resolve(input) {
17 return input ? normalize(input) : (storage.getStore() ?? localProvider);
18 },
19 async run(input, fn) {
20 if (!input) return await fn();
21 return await storage.run(normalize(input), fn);

Callers 15

readNodeHttpResponseBodyFunction · 0.70
runSpawnedCommandFunction · 0.70
runCmdDetachedMonitoredFunction · 0.70
runCmdBackgroundFunction · 0.70
sleepFunction · 0.70
finishFunction · 0.70
startFixtureServerFunction · 0.50
closeServerFunction · 0.50
startMetroStatusServerFunction · 0.50
settleFunction · 0.50
sendRawRpcBodyFunction · 0.50
waitForAbortFunction · 0.50

Calls

no outgoing calls

Tested by 15

startFixtureServerFunction · 0.40
closeServerFunction · 0.40
startMetroStatusServerFunction · 0.40
settleFunction · 0.40
sendRawRpcBodyFunction · 0.40
waitForAbortFunction · 0.40
connectSocketFunction · 0.40
writeSocketRequestsFunction · 0.40
waitForCloseFunction · 0.40