Skip to main content
Table of Contents

Namespace Stratara.Projections.Abstractions

Interfaces

IProjection

Marker interface for a Stratara projection (a read-model writer that reacts to events flowing through the event bundle). Implementations declare one or more HandleAsync(TEvent, CancellationToken) methods — public or private — that the ProjectionMethodInvoker discovers via reflection.

IProjectionDispatcher

Dispatches a single event to all registered projections. Implementations are expected to route the event through the configured IProjectionManager pipeline.

IProjectionHandler

Drives a single IProjection through a list of events, using the IProjectionMethodInvoker to look up cached handler delegates.

IProjectionManager

Fans an incoming event bundle out to every registered IProjection in parallel and runs the per-projection dispatch via IProjectionHandler.

IProjectionMethodInvoker

Reflection-based discovery + invocation helper that locates a projection's HandleAsync methods and caches compiled delegates for hot-path dispatch.