-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmod.ts
More file actions
75 lines (75 loc) · 2.16 KB
/
mod.ts
File metadata and controls
75 lines (75 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
export type { CircularBuffer } from './circular-buffer.ts'
export type { AbstractPool } from './pools/abstract-pool.ts'
export type {
IPool,
PoolEvent,
PoolInfo,
PoolOptions,
PoolType,
TasksQueueOptions,
} from './pools/pool.ts'
export { PoolEvents, PoolTypes } from './pools/pool.ts'
export type {
IWorkerChoiceStrategy,
Measurement,
MeasurementOptions,
MeasurementStatisticsRequirements,
StrategyPolicy,
TaskStatisticsRequirements,
WorkerChoiceStrategy,
WorkerChoiceStrategyOptions,
} from './pools/selection-strategies/selection-strategies-types.ts'
export {
Measurements,
WorkerChoiceStrategies,
} from './pools/selection-strategies/selection-strategies-types.ts'
export type { WorkerChoiceStrategiesContext } from './pools/selection-strategies/worker-choice-strategies-context.ts'
export { DynamicThreadPool } from './pools/thread/dynamic.ts'
export type { ThreadPoolOptions } from './pools/thread/fixed.ts'
export { FixedThreadPool } from './pools/thread/fixed.ts'
export type {
ErrorEventHandler,
EventLoopUtilizationMeasurementStatistics,
IWorker,
IWorkerNode,
MeasurementStatistics,
MessageEventErrorHandler,
MessageEventHandler,
StrategyData,
TaskStatistics,
WorkerInfo,
WorkerNodeEventDetail,
WorkerNodeOptions,
WorkerType,
WorkerUsage,
} from './pools/worker.ts'
export { WorkerTypes } from './pools/worker.ts'
export type { PriorityQueue } from './queues/priority-queue.ts'
export type { FixedQueueNode, IFixedQueue } from './queues/queue-types.ts'
export type {
MessageValue,
PromiseResponseWrapper,
Task,
TaskFunctionProperties,
TaskPerformance,
WorkerError,
WorkerStatistics,
Writable,
} from './utility-types.ts'
export { availableParallelism } from './utils.ts'
export type { AbstractWorker } from './worker/abstract-worker.ts'
export type {
TaskAsyncFunction,
TaskFunction,
TaskFunctionObject,
TaskFunctionOperationResult,
TaskFunctions,
TaskSyncFunction,
} from './worker/task-functions.ts'
export { ThreadWorker } from './worker/thread-worker.ts'
export type {
KillBehavior,
KillHandler,
WorkerOptions,
} from './worker/worker-options.ts'
export { KillBehaviors } from './worker/worker-options.ts'