Skip to main content
Table of Contents

Interface IProjectionDispatcher

Namespace
Stratara.Projections.Abstractions
Assembly
Stratara.Projections.dll

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

public interface IProjectionDispatcher
Extension Methods

Methods

DispatchAsync(IEvent, CancellationToken)

Dispatches the supplied event to every relevant projection.

Task DispatchAsync(IEvent wrappedEvent, CancellationToken cancellationToken)

Parameters

wrappedEvent IEvent

The event (already wrapped in IEvent) to dispatch.

cancellationToken CancellationToken

Cancellation token propagated to each projection invocation.

Returns

Task