X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=d1482c8336aa0bfc755217ac015a58f2766af0e4;hb=8d44e09342e2785fba82782c1771b7f67ffff650;hp=507fc86ffacae84875972e78ef02ef51f92f46c5;hpb=bb3f9b66fa2241864d31937eeced22caab83d17e;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index 507fc86f..d1482c83 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,6 +8,7 @@ export type { PoolEmitter, PoolOptions, PoolEvent, + 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,12 @@ 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, + PromiseResponseWrapper, + MessageValue, + WorkerAsyncFunction, + WorkerFunction, + WorkerSyncFunction +} from './utility-types' +export type { CircularArray } from './circular-array'