X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Findex.ts;h=4431b0f98f2617376df1d82937316633267f16de;hb=dea903a811a58acdf93f11379b347bfd8088e970;hp=3cc6fa0314825c09d6ab3965551ef950f5329aa2;hpb=e4b9c7f546318de7603566b141fd0e2d0118c794;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index 3cc6fa03..4431b0f9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,14 +2,16 @@ export { DynamicClusterPool } from './pools/cluster/dynamic' export { FixedClusterPool } from './pools/cluster/fixed' export type { ClusterPoolOptions } from './pools/cluster/fixed' export type { AbstractPool } from './pools/abstract-pool' -export { PoolEvents } from './pools/pool' +export { PoolEvents, PoolTypes, WorkerTypes } from './pools/pool' export type { IPool, PoolEmitter, - PoolOptions, PoolEvent, + PoolInfo, + PoolOptions, PoolType, - TasksQueueOptions + TasksQueueOptions, + WorkerType } from './pools/pool' export type { ErrorHandler, @@ -39,6 +41,12 @@ export { KillBehaviors } from './worker/worker-options' export type { KillBehavior, WorkerOptions } from './worker/worker-options' export type { Draft, + MessageValue, PromiseResponseWrapper, - MessageValue + TaskFunctions, + WorkerAsyncFunction, + WorkerFunction, + WorkerSyncFunction } from './utility-types' +export type { CircularArray } from './circular-array' +export type { Queue } from './queue'