build: refine linter configuration
[poolifier.git] / src / index.ts
index 54c352fc9f4f4b527201b4ef30198cd1c89e5c28..a4e22756afc61c8bfe9bd0ff58b088d2031b06c3 100644 (file)
@@ -24,7 +24,6 @@ export type {
   MeasurementStatistics,
   MessageHandler,
   OnlineHandler,
-  Task,
   TaskStatistics,
   WorkerInfo,
   WorkerType,
@@ -51,16 +50,21 @@ export type { AbstractWorker } from './worker/abstract-worker'
 export { ClusterWorker } from './worker/cluster-worker'
 export { ThreadWorker } from './worker/thread-worker'
 export { KillBehaviors } from './worker/worker-options'
-export type { KillBehavior, WorkerOptions } from './worker/worker-options'
 export type {
+  KillBehavior,
+  WorkerOptions,
+  KillHandler
+} from './worker/worker-options'
+export type {
+  TaskAsyncFunction,
+  TaskFunction,
   TaskFunctions,
-  WorkerAsyncFunction,
-  WorkerFunction,
-  WorkerSyncFunction
-} from './worker/worker-functions'
+  TaskSyncFunction
+} from './worker/task-functions'
 export type {
   MessageValue,
   PromiseResponseWrapper,
+  Task,
   TaskError,
   TaskPerformance,
   WorkerStatistics