MCPcopy Create free account
hub / github.com/IceClusters/icmysql / awaitMethod

Function awaitMethod

src/db/Query.js:118–124  ·  view source on GitHub ↗
(dbId, query, values, cache)

Source from the content-addressed store, hash-verified

116 ExecuteQuery(type, data.dbId, data.query, data.values, data.callback, data.cache);
117 }
118 const awaitMethod = async function(dbId, query, values, cache) {
119 ScheduleResourceTick(global.resourceName)
120 const data = await ParseArgs(dbId, query, values, null, cache);
121 if (data == null) return null;
122 // const invokingResource = GetInvokingResource();
123 return await ExecuteQuery(type, data.dbId, data.query, data.values, data.cache);
124 }
125 AddExport(type, method);
126 AddExport(`Await${type}`, awaitMethod);
127}

Callers

nothing calls this directly

Calls 2

ParseArgsFunction · 0.85
ExecuteQueryFunction · 0.85

Tested by

no test coverage detected