refactor: add type aliases for worker function
[poolifier.git] / src / index.ts
index dce003805d0ee3c7d44d499d33ce4454c188f8e0..d1482c8336aa0bfc755217ac015a58f2766af0e4 100644 (file)
@@ -40,6 +40,9 @@ export type { KillBehavior, WorkerOptions } from './worker/worker-options'
 export type {
   Draft,
   PromiseResponseWrapper,
-  MessageValue
+  MessageValue,
+  WorkerAsyncFunction,
+  WorkerFunction,
+  WorkerSyncFunction
 } from './utility-types'
 export type { CircularArray } from './circular-array'