liquidprojections / LiquidProjections

Liquid Projections supports building and maintaining autonomous .NET projection code in an Event Sourcing architecture.
https://www.liquidprojections.net
MIT License
169 stars 25 forks source link

Allowed the OWIN API to work with any implementation of IProjectorStats #106

Closed dennisdoomen closed 7 years ago

dennisdoomen commented 7 years ago

By extracting an interface from ProjectionState and use that in UseLiquidProjections, it is possible to use the OWIN endpoint without directly coupling it to the ProjectionStats. For example, an application may want to expose cached or persisted statistics extracted from a projector, rather than getting the live data.