Table of Contents

Enum ProjectionMode

Namespace
Excalibur.EventSourcing
Assembly
Excalibur.EventSourcing.Abstractions.dll

Defines how a projection processes events.

public enum ProjectionMode

Fields

Async = 0

The projection runs asynchronously via the AsyncProjectionProcessingHost, catching up on events in the background. This is the default mode.

Ephemeral = 1

The projection is built on-demand by replaying events from the event store without persisting the result. Suitable for ad-hoc queries and reporting.

Inline = 2

The save drives the ordered durable projection processor through its committed position. Background recovery is registered automatically; no separate worker application is required.

TransactionalInline = 3

Aggregate-local read models commit in the same transaction as the events.