feat: conditional task performance computation at the worker level
[poolifier.git] / src / worker / thread-worker.ts
index ded967f106189ef9515a35356a29274d01ca6595..81d98aa5c2fed44c67f84f1ea8145d24e4e3b676 100644 (file)
@@ -1,11 +1,8 @@
 import { type MessagePort, isMainThread, parentPort } from 'node:worker_threads'
-import type {
-  MessageValue,
-  TaskFunctions,
-  WorkerFunction
-} from '../utility-types'
+import type { MessageValue } from '../utility-types'
 import { AbstractWorker } from './abstract-worker'
 import type { WorkerOptions } from './worker-options'
+import type { TaskFunctions, WorkerFunction } from './worker-functions'
 
 /**
  * A thread worker used by a poolifier `ThreadPool`.