Namespace Cratis.Chronicle.Reactors.SideEffects
Classes
- AppendFailure
Represents a failure from an individual append operation.
- EventForEventSourceIdResultHandler
Handles a single EventForEventSourceId returned from a reactor handler method.
- EventResultHandler
Handles a single event object returned from a reactor handler method. The event is appended to the event log using metadata resolved from the ReactorContext.
- EventSourceIdValuesProvider
Represents an implementation of IReactorContextValuesProvider that provides the event source id.
- EventSourceTypeValuesProvider
Represents an implementation of IReactorContextValuesProvider that provides the event source type.
- EventStreamIdValuesProvider
Represents an implementation of IReactorContextValuesProvider that provides the event stream id.
- EventStreamTypeValuesProvider
Represents an implementation of IReactorContextValuesProvider that provides the event stream type.
- EventsForEventSourceIdResultHandler
Handles a non-empty collection of EventForEventSourceId returned from a reactor handler method.
- EventsResultHandler
Handles a collection of event objects returned from a reactor handler method. Each event is appended to the event log using metadata resolved from the ReactorContext.
- EventsWithConcurrencyScopesResultHandler
Handles EventsWithConcurrencyScopes returned from a reactor handler method by appending its events and concurrency scopes as one operation.
- MixedSideEffectsResultHandler
Handles a collection that mixes bare events and EventForEventSourceId returned from a reactor handler method.
- ReactorConstraintViolation
Represents a constraint violation from a reactor side-effect.
- ReactorContext
Represents the combined context available to a IReactorSideEffectHandler when processing a value returned by a reactor handler method.
- ReactorContextExtensions
Extension methods for ReactorContext that read append-metadata from the Values populated by the registered IReactorContextValuesProvider instances.
- ReactorContextValues
Represents a set of values associated with a ReactorContext.
- ReactorContextValuesBuilder
Represents an implementation of IReactorContextValuesBuilder.
- ReactorSideEffectAttribute
Marks a type as a reactor side-effect return type for the analyzer.
- ReactorSideEffectFailure
Represents a failure that occurred during reactor side-effect processing.
- ReactorSideEffectHandlers
Represents an implementation of IReactorSideEffectHandlers that dispatches reactor return values to all registered IReactorSideEffectHandler instances.
- ReactorSideEffectHandlingRequiresEventStore
The exception that is thrown when a reactor side effect is offered to a handler without the event store it belongs to, and the handler does not implement the event-store-less contract it was offered through.
- SubjectValuesProvider
Represents an implementation of IReactorContextValuesProvider that provides the subject for event appends.
- WellKnownReactorContextKeys
Well known keys for reactor context values.
Interfaces
- IReactorContextValuesBuilder
Defines a builder for creating instances of ReactorContextValues.
- IReactorContextValuesProvider
Provides values for a ReactorContext.
- IReactorSideEffectHandler
Defines a handler that can process a value returned from a reactor handler method and produce side effects.
- IReactorSideEffectHandlers
Defines a system for managing IReactorSideEffectHandler instances and dispatching return values to them.