MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / query

Function query

apps/desktop/main/worker/workerManager.ts:306–308  ·  view source on GitHub ↗
(type: string, payload: any)

Source from the content-addressed store, hash-verified

304 * 通用查询函数(用于新增的查询类型)
305 */
306export async function query<T = any>(type: string, payload: any): Promise<T> {
307 return sendToWorker<T>(type, payload)
308}
309
310// ==================== 插件系统 API ====================
311

Callers

nothing calls this directly

Calls 1

sendToWorkerFunction · 0.85

Tested by

no test coverage detected