src/worker/thread-pool-events.js
import { WorkerEvent } from "../events/WorkerEvent.js";
/**
* A worker message event.
*
* This event is dispatched by {@link ThreadPool}.
*
* @type {WorkerEvent}
* @example threadPool.addEventListener("message", myListener);
*/
export const message = new WorkerEvent("message");