Skip to main content
Table of Contents

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

events IReadOnlyList<IEvent>

The full event-bundle contents.

cancellationToken CancellationToken

Cancellation token propagated to all projection invocations.

Returns

Task