X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=f3bbe5031e3d8b94e65c1e0dfb343fa6c5e6c301;hb=8b7983d43f177abe0716e22cf8d82d72c98cb23c;hp=54c352fc9f4f4b527201b4ef30198cd1c89e5c28;hpb=658b9aa08266ed9a8ae3c0fc947d237fa2674f09;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index 54c352fc..f3bbe503 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,7 +7,6 @@ export { export { PoolEvents, PoolTypes } from './pools/pool' export type { IPool, - PoolEmitter, PoolEvent, PoolInfo, PoolOptions, @@ -24,9 +23,10 @@ export type { MeasurementStatistics, MessageHandler, OnlineHandler, - Task, + StrategyData, TaskStatistics, WorkerInfo, + WorkerNodeEventCallback, WorkerType, WorkerUsage } from './pools/worker' @@ -51,20 +51,27 @@ 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, + TaskFunctionOperationResult, TaskFunctions, - WorkerAsyncFunction, - WorkerFunction, - WorkerSyncFunction -} from './worker/worker-functions' + TaskSyncFunction +} from './worker/task-functions' export type { MessageValue, PromiseResponseWrapper, - TaskError, + Task, + WorkerError, TaskPerformance, - WorkerStatistics + WorkerStatistics, + Writable } from './utility-types' export type { CircularArray } from './circular-array' -export type { Queue } from './queue' +export type { Deque, Node } from './deque' export { availableParallelism } from './utils'