首次提交

This commit is contained in:
2026-07-13 12:06:16 +08:00
commit e3c810b1a6
1690 changed files with 228324 additions and 0 deletions
@@ -0,0 +1,9 @@
import { IWorkerDefinition } from './worker-definition';
export interface IBrokerMessage<WorkerDefinition extends IWorkerDefinition> {
id: null | number;
method: Extract<keyof WorkerDefinition, string>;
params: WorkerDefinition[Extract<keyof WorkerDefinition, string>]['params'];
}