MCPcopy
hub / github.com/codeaashu/claude-code / WorkerTask

Interface WorkerTask

web/lib/performance/worker-pool.ts:6–11  ·  view source on GitHub ↗

* Lightweight web worker pool. Keeps a fixed number of workers alive * and queues tasks when all workers are busy.

Source from the content-addressed store, hash-verified

4 */
5
6interface WorkerTask<T> {
7 payload: unknown;
8 resolve: (value: T) => void;
9 reject: (reason: unknown) => void;
10 transferables?: Transferable[];
11}
12
13interface WorkerSlot {
14 worker: Worker;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected