package
0.5.0
Repository: https://github.com/microsoft/durabletask-go.git
Documentation: pkg.go.dev

# Functions

NewOrchestrationContext returns a new [OrchestrationContext] struct with the specified parameters.
NewTaskExecutor returns a [backend.Executor] implementation that executes orchestrator and activity functions in-memory.
NewTaskRegistry returns a new [TaskRegistry] struct.
WithActivityInput configures an input for an activity invocation.
WithKeepUnprocessedEvents returns a ContinueAsNewOptions struct that instructs the runtime to carry forward any unprocessed external events to the new instance.
WithRawActivityInput configures a raw input for an activity invocation.
WithRawSubOrchestratorInput is a functional option type for the CallSubOrchestrator orchestrator method that takes a raw input value.
WithSubOrchestrationInstanceID is a functional option type for the CallSubOrchestrator orchestrator method that specifies the instance ID of the sub-orchestration.
WithSubOrchestratorInput is a functional option type for the CallSubOrchestrator orchestrator method that takes an input value and marshals it to JSON.

# Variables

ErrTaskBlocked is not an error, but rather a control flow signal indicating that an orchestrator function has executed as far as it can and that it now needs to unload, dispatch any scheduled tasks, and commit its current execution progress to durable storage.
CONSIDER: More specific info about the task.

# Structs

OrchestrationContext is the parameter type for orchestrator functions.
TaskRegistry contains maps of names to corresponding orchestrator and activity functions.

# Interfaces

ActivityContext is the context parameter type for activity implementations.
Task is an interface for asynchronous durable tasks.

# Type aliases

Activity is the functional interface for activity implementations.
ContinueAsNewOption is a functional option type for the ContinueAsNew orchestrator method.
Orchestrator is the functional interface for orchestrator functions.