repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: v2.6.29
[poolifier.git]
/
src
/
index.ts
diff --git
a/src/index.ts
b/src/index.ts
index 3cc6fa0314825c09d6ab3965551ef950f5329aa2..a4e22756afc61c8bfe9bd0ff58b088d2031b06c3 100644
(file)
--- a/
src/index.ts
+++ b/
src/index.ts
@@
-1,44
+1,74
@@
-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 type { AbstractPool } from './pools/abstract-pool'
-export { PoolEvents } from './pools/pool'
+export { DynamicClusterPool } from './pools/cluster/dynamic'
+export {
+ FixedClusterPool,
+ type ClusterPoolOptions
+} from './pools/cluster/fixed'
+export { PoolEvents, PoolTypes } from './pools/pool'
export type {
IPool,
PoolEmitter,
export type {
IPool,
PoolEmitter,
- PoolOptions,
PoolEvent,
PoolEvent,
+ PoolInfo,
+ PoolOptions,
PoolType,
TasksQueueOptions
} from './pools/pool'
PoolType,
TasksQueueOptions
} from './pools/pool'
+export { WorkerTypes } from './pools/worker'
export type {
ErrorHandler,
export type {
ErrorHandler,
+ EventLoopUtilizationMeasurementStatistics,
ExitHandler,
IWorker,
ExitHandler,
IWorker,
+ IWorkerNode,
+ MeasurementStatistics,
MessageHandler,
OnlineHandler,
MessageHandler,
OnlineHandler,
- Task,
- TasksUsage,
- WorkerNode
+ TaskStatistics,
+ WorkerInfo,
+ WorkerType,
+ WorkerUsage
} from './pools/worker'
} from './pools/worker'
-export { WorkerChoiceStrategies } from './pools/selection-strategies/selection-strategies-types'
+export {
+ Measurements,
+ WorkerChoiceStrategies
+} from './pools/selection-strategies/selection-strategies-types'
export type {
IWorkerChoiceStrategy,
export type {
IWorkerChoiceStrategy,
- RequiredStatistics,
+ Measurement,
+ MeasurementOptions,
+ MeasurementStatisticsRequirements,
+ StrategyPolicy,
+ TaskStatisticsRequirements,
WorkerChoiceStrategy,
WorkerChoiceStrategyOptions
} from './pools/selection-strategies/selection-strategies-types'
export type { WorkerChoiceStrategyContext } from './pools/selection-strategies/worker-choice-strategy-context'
export { DynamicThreadPool } from './pools/thread/dynamic'
WorkerChoiceStrategy,
WorkerChoiceStrategyOptions
} from './pools/selection-strategies/selection-strategies-types'
export type { WorkerChoiceStrategyContext } from './pools/selection-strategies/worker-choice-strategy-context'
export { DynamicThreadPool } from './pools/thread/dynamic'
-export { FixedThreadPool } from './pools/thread/fixed'
-export type { ThreadWorkerWithMessageChannel } from './pools/thread/fixed'
+export { FixedThreadPool, type ThreadPoolOptions } from './pools/thread/fixed'
export type { AbstractWorker } from './worker/abstract-worker'
export { ClusterWorker } from './worker/cluster-worker'
export { ThreadWorker } from './worker/thread-worker'
export { KillBehaviors } from './worker/worker-options'
export type { AbstractWorker } from './worker/abstract-worker'
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 {
export type {
- Draft,
+ KillBehavior,
+ WorkerOptions,
+ KillHandler
+} from './worker/worker-options'
+export type {
+ TaskAsyncFunction,
+ TaskFunction,
+ TaskFunctions,
+ TaskSyncFunction
+} from './worker/task-functions'
+export type {
+ MessageValue,
PromiseResponseWrapper,
PromiseResponseWrapper,
- MessageValue
+ Task,
+ TaskError,
+ TaskPerformance,
+ WorkerStatistics
} from './utility-types'
} from './utility-types'
+export type { CircularArray } from './circular-array'
+export type { Queue } from './queue'
+export { availableParallelism } from './utils'