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;
ApplicationProtocolVersion,
type ConfigurationData,
ConfigurationSection,
+ type ElementsPerWorkerType,
type LogConfiguration,
type StationTemplateUrl,
type StorageConfiguration,
import { Constants } from './Constants';
import { isNotEmptyString, logPrefix as utilsLogPrefix } from './Utils';
-import { FileType, StorageType } from '../types';
-import type { elementsPerWorkerType } from '../types/ConfigurationData';
+import { type ElementsPerWorkerType, FileType, StorageType } from '../types';
import { WorkerProcessType } from '../worker';
export const logPrefix = (): string => {
};
export const checkWorkerElementsPerWorker = (
- elementsPerWorker: elementsPerWorkerType | undefined,
+ elementsPerWorker: ElementsPerWorkerType | undefined,
): void => {
if (
elementsPerWorker !== undefined &&