refactor: cleanup eslint configuration
[poolifier.git] / src / worker / thread-worker.ts
index 638de2ba2f9c8f090360c528cd1169cfcd52e823..7115d71568a6fc0664ba6f74b17085b35bc50655 100644 (file)
@@ -1,13 +1,14 @@
 import {
-  type MessagePort,
   isMainThread,
+  type MessagePort,
   parentPort,
   threadId
 } from 'node:worker_threads'
+
 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 thread worker used by a poolifier `ThreadPool`.