Class ReducerWatcher<TReadModel>
- Namespace
- Cratis.Chronicle.Reducers
- Assembly
- Cratis.Chronicle.dll
Represents an implementation of IReducerWatcher<TReadModel>.
public class ReducerWatcher<TReadModel> : IReducerWatcher<TReadModel>, IReducerWatcher, IDisposable
Type Parameters
TReadModelType of read model the watcher is for.
- Inheritance
-
ReducerWatcher<TReadModel>
- Implements
-
IReducerWatcher<TReadModel>
- Inherited Members
- Extension Methods
Constructors
ReducerWatcher()
public ReducerWatcher()
Properties
Observable
Gets the observable for the reducer.
public IObservable<ReducerChangeset<TReadModel>> Observable { get; }
Property Value
- IObservable<ReducerChangeset<TReadModel>>
Methods
Dispose()
public void Dispose()
Start()
Start the watcher.
public void Start()
Stop()
Stop the watcher.
public void Stop()