Class MaterializedView<S, E, V, EM>

Materialized view is using/delegating a View to handle events of type E and to maintain a state of projection(s) via IViewStateRepository as a result. Essentially, it represents the query/view side of the CQRS pattern.

Author

Иван Дугалић / Ivan Dugalic /

Idugalic

Type Parameters

  • S

    Materialized View state of type S

  • E

    Events of type E that are handled by this Materialized View

  • V

    Version of the state

  • EM

    Event Metadata

Implements

Constructors

Properties

initialState: S
view: IView<S, E>
viewStateRepository: IViewStateRepository<E, S, V, EM>

Methods

Generated using TypeDoc