X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=03ee28090ba4aef76bdd84d8c5072185487e7f5a;hb=557991e8ddb66a72a47d62606e142e8be86677f2;hp=507fc86ffacae84875972e78ef02ef51f92f46c5;hpb=bb3f9b66fa2241864d31937eeced22caab83d17e;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index 507fc86f..03ee2809 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,8 +6,9 @@ export { PoolEvents } from './pools/pool' export type { IPool, PoolEmitter, - PoolOptions, PoolEvent, + PoolOptions, + PoolType, TasksQueueOptions } from './pools/pool' export type { @@ -16,11 +17,14 @@ export type { IWorker, MessageHandler, OnlineHandler, + Task, + TasksUsage, WorkerNode } from './pools/worker' export { WorkerChoiceStrategies } from './pools/selection-strategies/selection-strategies-types' export type { IWorkerChoiceStrategy, + RequiredStatistics, WorkerChoiceStrategy, WorkerChoiceStrategyOptions } from './pools/selection-strategies/selection-strategies-types' @@ -33,4 +37,14 @@ 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 { Draft, MessageValue } from './utility-types' +export type { + Draft, + MessageValue, + PromiseResponseWrapper, + TaskFunctions, + WorkerAsyncFunction, + WorkerFunction, + WorkerSyncFunction +} from './utility-types' +export type { CircularArray } from './circular-array' +export type { Queue } from './queue'