X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=6c9aa47e2092752bdadd7f409480ef8e4ce20128;hb=30d7f6e094a9b837fd85c74ef23188ab28e86644;hp=8faba2552bb4cb772724aa350016471a36d659d2;hpb=a4846bb2399905e5529826605c20526c3bdd4333;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index 8faba255..6c9aa47e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,13 +1,9 @@ export type { AbstractPool } from './pools/abstract-pool' export { DynamicClusterPool } from './pools/cluster/dynamic' -export { - FixedClusterPool, - type ClusterPoolOptions -} from './pools/cluster/fixed' +export { FixedClusterPool } from './pools/cluster/fixed' export { PoolEvents, PoolTypes } from './pools/pool' export type { IPool, - PoolEmitter, PoolEvent, PoolInfo, PoolOptions, @@ -27,7 +23,8 @@ export type { StrategyData, TaskStatistics, WorkerInfo, - WorkerNodeEventCallback, + WorkerNodeEventDetail, + WorkerNodeOptions, WorkerType, WorkerUsage } from './pools/worker' @@ -47,20 +44,20 @@ export type { } from './pools/selection-strategies/selection-strategies-types' export type { WorkerChoiceStrategyContext } from './pools/selection-strategies/worker-choice-strategy-context' export { DynamicThreadPool } from './pools/thread/dynamic' -export { FixedThreadPool, type ThreadPoolOptions } from './pools/thread/fixed' +export { FixedThreadPool } from './pools/thread/fixed' 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, - KillHandler + KillHandler, + WorkerOptions } from './worker/worker-options' export type { TaskAsyncFunction, TaskFunction, - TaskFunctionOperationReturnType, + TaskFunctionOperationResult, TaskFunctions, TaskSyncFunction } from './worker/task-functions' @@ -68,8 +65,8 @@ export type { MessageValue, PromiseResponseWrapper, Task, - WorkerError, TaskPerformance, + WorkerError, WorkerStatistics, Writable } from './utility-types'