refactor: refine type definition
[poolifier.git] / src / index.ts
index a0081a4784a9330683b68c09fd1766ef5034cd51..cba064140d08ba8912d516f3c4a9c70745def408 100644 (file)
@@ -54,6 +54,7 @@ export type {
   MessageValue,
   PromiseResponseWrapper,
   Task,
+  TaskFunctionProperties,
   TaskPerformance,
   WorkerError,
   WorkerStatistics,
@@ -65,6 +66,7 @@ export { ClusterWorker } from './worker/cluster-worker.js'
 export type {
   TaskAsyncFunction,
   TaskFunction,
+  TaskFunctionObject,
   TaskFunctionOperationResult,
   TaskFunctions,
   TaskSyncFunction