X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fworker%2Fthread-worker.ts;fp=src%2Fworker%2Fthread-worker.ts;h=2a50249f7bbd406ad6789d80167bace6cb009dc6;hb=d35e571704515a8b729d3455e4784054f07c368f;hp=bc143a1f914b7e7dba14b395ac456be40c59ed80;hpb=7b7d96315331635fa3c8a12b03b6893fe91bf8ec;p=poolifier.git diff --git a/src/worker/thread-worker.ts b/src/worker/thread-worker.ts index bc143a1f..2a50249f 100644 --- a/src/worker/thread-worker.ts +++ b/src/worker/thread-worker.ts @@ -4,10 +4,10 @@ import { parentPort, threadId } from 'node:worker_threads' -import type { MessageValue } from '../utility-types' -import { AbstractWorker } from './abstract-worker' -import type { WorkerOptions } from './worker-options' -import type { TaskFunction, TaskFunctions } from './task-functions' +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' /** * A thread worker used by a poolifier `ThreadPool`.