From: Jérôme Benoit Date: Tue, 11 Apr 2023 20:36:32 +0000 (+0200) Subject: docs: add missing exports X-Git-Tag: v2.4.7~8 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e8bd29ce49b5fe0b861c237f1b917433a9d497a4;p=poolifier.git docs: add missing exports Signed-off-by: Jérôme Benoit --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e85ba1e..602b6ebb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add worker tasks queue options to pool options. +### Fixed + +- Fix missing documentation. + ## [2.4.6] - 2023-04-10 ### Fixed diff --git a/src/index.ts b/src/index.ts index 507fc86f..3cc6fa03 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,8 @@ 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 +} from './utility-types'