import type { WorkerChoiceStrategy } from 'poolifier';
-import type { StorageType } from './Storage';
-import type { ApplicationProtocol, AuthenticationType } from './UIProtocol';
-import type { WorkerProcessType } from '../worker';
+import type { StorageType } from './Storage.js';
+import type { ApplicationProtocol, AuthenticationType } from './UIProtocol.js';
+import type { WorkerProcessType } from '../worker/index.js';
type ServerOptions = ListenOptions;
uri?: string;
}
-export type elementsPerWorkerType = number | 'auto' | 'all';
+export type ElementsPerWorkerType = number | 'auto' | 'all';
export interface WorkerConfiguration {
processType?: WorkerProcessType;
startDelay?: number;
- elementsPerWorker?: elementsPerWorkerType;
+ elementsPerWorker?: ElementsPerWorkerType;
elementStartDelay?: number;
poolMinSize?: number;
poolMaxSize?: number;