X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fworker%2Fcluster-worker.ts;h=325b7a410b6cb7686ebee51f1d37b06043622fad;hb=78338da83a35536a6fa6066a1d6feba4c7dc90b3;hp=eedf13bd9265cb30b6d7cd689c42e2c517367acd;hpb=fea198e84b17af4bd0f63cb2984447afbd1a7192;p=poolifier.git diff --git a/src/worker/cluster-worker.ts b/src/worker/cluster-worker.ts index eedf13bd..325b7a41 100644 --- a/src/worker/cluster-worker.ts +++ b/src/worker/cluster-worker.ts @@ -1,8 +1,9 @@ import cluster, { type Worker } from 'node:cluster' + import type { MessageValue } from '../utility-types.js' import { AbstractWorker } from './abstract-worker.js' -import type { WorkerOptions } from './worker-options.js' import type { TaskFunction, TaskFunctions } from './task-functions.js' +import type { WorkerOptions } from './worker-options.js' /** * A cluster worker used by a poolifier `ClusterPool`.