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