X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=c9ee4c6376774d73edf2d9328ab33a9880c1ebf1;hb=58399427588adb63380e6bfe955dbdf4ea8ea8a5;hp=54c352fc9f4f4b527201b4ef30198cd1c89e5c28;hpb=4b628b4844b461e434c5945feead43b0cc7aab01;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index 54c352fc..c9ee4c63 100644 --- a/src/index.ts +++ b/src/index.ts @@ -24,7 +24,6 @@ export type { MeasurementStatistics, MessageHandler, OnlineHandler, - Task, TaskStatistics, WorkerInfo, WorkerType, @@ -53,14 +52,15 @@ export { ThreadWorker } from './worker/thread-worker' export { KillBehaviors } from './worker/worker-options' export type { KillBehavior, WorkerOptions } 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