Share via


IWorkflowExecutionEnvironment Interface

Definition

Defines an execution environment for running, streaming, and resuming workflows asynchronously, with optional checkpointing and run management capabilities.

public interface IWorkflowExecutionEnvironment
type IWorkflowExecutionEnvironment = interface
Public Interface IWorkflowExecutionEnvironment
Derived

Properties

Name Description
IsCheckpointingEnabled

Specifies whether Checkpointing is configured for this environment.

Methods

Name Description
OpenStreamingAsync(Workflow, String, CancellationToken)

Initiates a streaming run of the specified workflow without sending any initial input. Note that the starting Executor will not be invoked until an input message is received.

ResumeAsync(Workflow, CheckpointInfo, CancellationToken)

Resumes a non-streaming execution of the workflow from a checkpoint.

ResumeStreamingAsync(Workflow, CheckpointInfo, CancellationToken)

Resumes an asynchronous streaming execution for the specified input from a checkpoint.

RunAsync<TInput>(Workflow, TInput, String, CancellationToken)

Initiates a non-streaming execution of the workflow with the specified input.

RunStreamingAsync<TInput>(Workflow, TInput, String, CancellationToken)

Initiates an asynchronous streaming execution using the specified input.

Applies to