import { waitWorkerNodeEvents } from "https://deno.land/x/poolifier@v0.3.14/src/pools/utils.ts";
type
<Worker extends IWorker, Data = unknown>() => Promise<number>
workerNode: IWorkerNode<Worker, Data>,
workerNodeEvent: string,
numberOfEventsToWait: number,
timeout: number,