crewai-ts
Version:
TypeScript port of crewAI for agent-based workflows
24 lines • 702 B
TypeScript
import { EventEmitter } from 'events';
interface FlowSchedulerOptions {
resourceLimits?: {
availableCpu?: number;
availableMemory?: number;
maxConcurrentIo?: number;
maxConcurrentNetwork?: number;
};
}
export declare class FlowSchedulerCore extends EventEmitter {
private resourceUsage;
private options;
private metrics;
constructor(options: FlowSchedulerOptions);
private initializeResources;
private initializeMetrics;
private updateResourceUsage;
private getResourceUsage;
private calculateResourceUsage;
private canScheduleFlow;
private handleFlowError;
}
export {};
//# sourceMappingURL=FlowSchedulerCore.d.ts.map