X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Findex.ts;h=ac7ede0a746be1e5cfec0df8275aaeb7e72f9eff;hb=47bbac7dec41b3ebed83eed3a7fb9c9333b3d3f7;hp=8a3cb9b1e2ef2521a83bfed53267980d61d8e786;hpb=3557031d88b5ff00ea86695728b3ba3af46e9faa;p=poolifier.git diff --git a/src/index.ts b/src/index.ts index 8a3cb9b1..ac7ede0a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -26,6 +26,7 @@ export type { OnlineHandler, TaskStatistics, WorkerInfo, + WorkerNodeEventCallback, WorkerType, WorkerUsage } from './pools/worker' @@ -50,21 +51,26 @@ 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, TaskFunctions, - WorkerAsyncFunction, - WorkerFunction, - WorkerSyncFunction -} from './worker/worker-functions' + TaskSyncFunction +} from './worker/task-functions' export type { MessageValue, PromiseResponseWrapper, 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'