n8n
Version:
n8n Workflow Automation Tool
26 lines (25 loc) • 767 B
TypeScript
import { z } from 'zod';
import { BaseCommand } from './base-command';
declare const flagsSchema: z.ZodObject<{
concurrency: z.ZodDefault<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
concurrency: number;
}, {
concurrency?: number | undefined;
}>;
export declare class Worker extends BaseCommand<z.infer<typeof flagsSchema>> {
private concurrency;
private scalingService;
needsCommunityPackages: boolean;
needsTaskRunner: boolean;
stopProcess(): Promise<void>;
constructor();
init(): Promise<void>;
initEventBus(): Promise<void>;
initOrchestration(): Promise<void>;
setConcurrency(): Promise<void>;
initScalingService(): Promise<void>;
run(): Promise<void>;
catch(error: Error): Promise<void>;
}
export {};