Interface IExecutionContextAccessor
- Namespace
- FlowOrchestrator.Core.Execution
- Assembly
- FlowOrchestrator.Core.dll
Provides scoped access to the IExecutionContext for the currently executing step.
Registered as a scoped service; each Hangfire job scope gets its own instance populated by
DefaultStepExecutor before the step handler is invoked.
public interface IExecutionContextAccessor
Properties
CurrentContext
The context for the currently executing step, or null when accessed outside of an active step execution scope.
IExecutionContext? CurrentContext { get; set; }