* Execute a workflow synchronously (ensures non-async mode) * @param workflowId - The ID of the workflow to execute * @param input - Input data to pass to the workflow * @param options - Execution options (timeout, stream, etc.)
(
workflowId: string,
input?: any,
options: ExecutionOptions = {}
)
| 321 | * @param options - Execution options (timeout, stream, etc.) |
| 322 | */ |
| 323 | async executeWorkflowSync( |
| 324 | workflowId: string, |
| 325 | input?: any, |
| 326 | options: ExecutionOptions = {} |
| 327 | ): Promise<WorkflowExecutionResult> { |
| 328 | const syncOptions = { ...options, async: false } |
| 329 | return this.executeWorkflow(workflowId, input, syncOptions) as Promise<WorkflowExecutionResult> |
| 330 | } |
| 331 | |
| 332 | /** |
| 333 | * Validate that a workflow is ready for execution |
nothing calls this directly
no test coverage detected