Interface IProjectionManager
- Namespace
- Stratara.Projections.Abstractions
- Assembly
- Stratara.Projections.dll
Fans an incoming event bundle out to every registered IProjection in parallel and runs the per-projection dispatch via IProjectionHandler.
public interface IProjectionManager
- Extension Methods
Methods
HandleAsync(IReadOnlyList<IEvent>, CancellationToken)
Dispatch the given events to every registered projection. Projections that have no relevant handler are skipped.
Task HandleAsync(IReadOnlyList<IEvent> events, CancellationToken cancellationToken)
Parameters
eventsIReadOnlyList<IEvent>The full event-bundle contents.
cancellationTokenCancellationTokenCancellation token propagated to all projection invocations.