UNPKG

@mastra/core

Version:

Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.

25 lines 898 B
import { MastraWorker } from '../worker.js'; import type { WorkerDeps } from '../worker.js'; export interface OrchestrationWorkerConfig { group?: string; } /** * Processes workflow events (step.run, step.end, start, cancel, etc.) * by delegating to the WorkflowEventProcessor. * * Subscribes to the PubSub "workflows" topic and routes events to WEP. * * When MASTRA_STEP_EXECUTION_URL is set, injects HttpRemoteStrategy into * WEP so step execution happens over HTTP to the server. Otherwise WEP * executes steps directly in-process. */ export declare class OrchestrationWorker extends MastraWorker { #private; readonly name = "orchestration"; constructor(config?: OrchestrationWorkerConfig); init(deps: WorkerDeps): Promise<void>; start(): Promise<void>; stop(): Promise<void>; get isRunning(): boolean; } //# sourceMappingURL=orchestration-worker.d.ts.map