@mastra/core
Version:
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
16 lines • 698 B
TypeScript
import type { Mastra } from '../../mastra/index.js';
import type { StepResult } from '../../workflows/types.js';
import type { StepExecutionParams, StepExecutionStrategy } from '../types.js';
/**
* Executes workflow steps in the same process by delegating to StepExecutor.
* This is the default strategy used when the worker runs co-located with the server.
*/
export declare class InProcessStrategy implements StepExecutionStrategy {
#private;
constructor({ mastra }?: {
mastra?: Mastra;
});
__registerMastra(mastra: Mastra): void;
executeStep(params: StepExecutionParams): Promise<StepResult<any, any, any, any>>;
}
//# sourceMappingURL=in-process-strategy.d.ts.map