Class MaterializedLockingView<S, E, V>

Materialized Locking view is using/delegating a View to handle events of type E and to maintain a state of projection(s) via ViewStateLockingRepository 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

Implements

Constructors

Properties

initialState: S
view: IView<S, E>
viewStateRepository: ViewStateLockingRepository<E, S, V>

Methods

Generated using TypeDoc