X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fworker%2Fcluster-worker.ts;h=0ff15cced17931de93638f41d38803ee59a8116b;hb=059438ff653016562c63abf570526dbfe75fdea8;hp=49b0f984f3ca7a42721a79452da29eab34f09f22;hpb=557991e8ddb66a72a47d62606e142e8be86677f2;p=poolifier.git diff --git a/src/worker/cluster-worker.ts b/src/worker/cluster-worker.ts index 49b0f984..0ff15cce 100644 --- a/src/worker/cluster-worker.ts +++ b/src/worker/cluster-worker.ts @@ -1,5 +1,4 @@ -import type { Worker } from 'node:cluster' -import cluster from 'node:cluster' +import cluster, { type Worker } from 'node:cluster' import type { MessageValue, TaskFunctions,