X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=cfbffb722f119cb7a33e1f3432785e88de47019f;hb=56ea99c2ba591a9797a21e317d666b0f8bce8a66;hp=c9ee4c6376774d73edf2d9328ab33a9880c1ebf1;hpb=82ea6492d3318a170559bb57501dc16023bb18d8;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index c9ee4c63..cfbffb72 100644 --- a/src/index.ts +++ b/src/index.ts @@ -50,7 +50,11 @@ 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 { + KillBehavior, + WorkerOptions, + KillHandler +} from './worker/worker-options' export type { TaskAsyncFunction, TaskFunction, @@ -63,8 +67,9 @@ export type { Task, TaskError, TaskPerformance, - WorkerStatistics + WorkerStatistics, + Writable } from './utility-types' export type { CircularArray } from './circular-array' -export type { Queue } from './queue' +export type { Deque, Node } from './deque' export { availableParallelism } from './utils'