test: improve multiple task functions worker usage test
[poolifier.git] / src / index.ts
index 8a3cb9b1e2ef2521a83bfed53267980d61d8e786..a4e22756afc61c8bfe9bd0ff58b088d2031b06c3 100644 (file)
@@ -50,13 +50,17 @@ 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,