X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=2bae50e71083ebde5075ddff357f78db1970a896;hb=8a24c0264f35980470dccd8143eeef3e31ddbff0;hp=b64a274b87c662d65249ca52ac82250c2bad3dd0;hpb=e8ea58d292e381a6be7f4d0fee5d5b691adb37ac;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index b64a274b..2bae50e7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,11 +9,13 @@ export { DynamicClusterPool } from './pools/cluster/dynamic' export { FixedClusterPool } from './pools/cluster/fixed' export type { ClusterPoolOptions } from './pools/cluster/fixed' export type { IPool } from './pools/pool' +export { WorkerChoiceStrategies } from './pools/selection-strategies' +export type { WorkerChoiceStrategy } from './pools/selection-strategies' export { DynamicThreadPool } from './pools/thread/dynamic' export { FixedThreadPool } from './pools/thread/fixed' export type { ThreadWorkerWithMessageChannel } from './pools/thread/fixed' export { AbstractWorker } from './worker/abstract-worker' export { ClusterWorker } from './worker/cluster-worker' export { ThreadWorker } from './worker/thread-worker' -export type { WorkerOptions } from './worker/worker-options' -export { killBehaviorTypes } from './worker/worker-options' +export { KillBehaviors } from './worker/worker-options' +export type { KillBehavior, WorkerOptions } from './worker/worker-options'