X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Fthread-worker.ts;h=81d98aa5c2fed44c67f84f1ea8145d24e4e3b676;hb=afa30fd0dd5bbc5d305cc30be663966a449efc08;hp=ded967f106189ef9515a35356a29274d01ca6595;hpb=059438ff653016562c63abf570526dbfe75fdea8;p=poolifier.git diff --git a/src/worker/thread-worker.ts b/src/worker/thread-worker.ts index ded967f1..81d98aa5 100644 --- a/src/worker/thread-worker.ts +++ b/src/worker/thread-worker.ts @@ -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`.