fix: test task function name only if the received from workers
[poolifier.git] / src / index.ts
... / ...
CommitLineData
1export type { AbstractPool } from './pools/abstract-pool'
2export { DynamicClusterPool } from './pools/cluster/dynamic'
3export {
4 FixedClusterPool,
5 type ClusterPoolOptions
6} from './pools/cluster/fixed'
7export { PoolEvents, PoolTypes } from './pools/pool'
8export type {
9 IPool,
10 PoolEmitter,
11 PoolEvent,
12 PoolInfo,
13 PoolOptions,
14 PoolType,
15 TasksQueueOptions
16} from './pools/pool'
17export { WorkerTypes } from './pools/worker'
18export type {
19 ErrorHandler,
20 EventLoopUtilizationMeasurementStatistics,
21 ExitHandler,
22 IWorker,
23 IWorkerNode,
24 MeasurementStatistics,
25 MessageHandler,
26 OnlineHandler,
27 TaskStatistics,
28 WorkerInfo,
29 WorkerType,
30 WorkerUsage
31} from './pools/worker'
32export {
33 Measurements,
34 WorkerChoiceStrategies
35} from './pools/selection-strategies/selection-strategies-types'
36export type {
37 IWorkerChoiceStrategy,
38 Measurement,
39 MeasurementOptions,
40 MeasurementStatisticsRequirements,
41 StrategyPolicy,
42 TaskStatisticsRequirements,
43 WorkerChoiceStrategy,
44 WorkerChoiceStrategyOptions
45} from './pools/selection-strategies/selection-strategies-types'
46export type { WorkerChoiceStrategyContext } from './pools/selection-strategies/worker-choice-strategy-context'
47export { DynamicThreadPool } from './pools/thread/dynamic'
48export { FixedThreadPool, type ThreadPoolOptions } from './pools/thread/fixed'
49export type { AbstractWorker } from './worker/abstract-worker'
50export { ClusterWorker } from './worker/cluster-worker'
51export { ThreadWorker } from './worker/thread-worker'
52export { KillBehaviors } from './worker/worker-options'
53export type { KillBehavior, WorkerOptions } from './worker/worker-options'
54export type {
55 TaskAsyncFunction,
56 TaskFunction,
57 TaskFunctions,
58 TaskSyncFunction
59} from './worker/task-functions'
60export type {
61 MessageValue,
62 PromiseResponseWrapper,
63 Task,
64 TaskError,
65 TaskPerformance,
66 WorkerStatistics
67} from './utility-types'
68export type { CircularArray } from './circular-array'
69export type { Queue } from './queue'
70export { availableParallelism } from './utils'