MCPcopy Index your code
hub / github.com/codeaashu/claude-code / handleMessage

Method handleMessage

web/lib/performance/worker-pool.ts:61–67  ·  view source on GitHub ↗
(e: MessageEvent)

Source from the content-addressed store, hash-verified

59 slot.busy = true;
60
61 const handleMessage = (e: MessageEvent) => {
62 slot.worker.removeEventListener("message", handleMessage);
63 slot.worker.removeEventListener("error", handleError);
64 slot.busy = false;
65 task.resolve(e.data as T);
66 this.dequeue();
67 };
68
69 const handleError = (e: ErrorEvent) => {
70 slot.worker.removeEventListener("message", handleMessage);

Callers

nothing calls this directly

Calls 2

dequeueMethod · 0.95
resolveMethod · 0.45

Tested by

no test coverage detected