Interface IFlowEventReader
- Namespace
- FlowOrchestrator.Core.Storage
- Assembly
- FlowOrchestrator.Core.dll
Read-only interface for retrieving the ordered event log of a flow run. Implemented alongside IOutputsRepository by storage backends that support event persistence.
public interface IFlowEventReader
Methods
GetRunEventsAsync(Guid, int, int)
Returns a page of events for the given run, ordered by Sequence ascending.
Task<IReadOnlyList<FlowEventRecord>> GetRunEventsAsync(Guid runId, int skip = 0, int take = 200)
Parameters
runIdGuidThe run whose events are requested.
skipintNumber of events to skip (for pagination).
takeintMaximum number of events to return.