Interface IFlowRepository
- Namespace
- FlowOrchestrator.Core.Storage
- Assembly
- FlowOrchestrator.Core.dll
Read-only interface for retrieving code-registered flow definitions.
The default implementation lives in FlowOrchestrator.InMemory.InMemoryFlowRepository
and is populated at startup by FlowSyncHostedService from the flows registered via
AddFlow<T>().
public interface IFlowRepository
Methods
GetAllFlowsAsync()
Returns all IFlowDefinition instances registered in DI.
ValueTask<IReadOnlyList<IFlowDefinition>> GetAllFlowsAsync()