Table of Contents

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

TReadModel

Type of read model the watcher is for.

Inheritance
ReducerWatcher<TReadModel>
Implements
IReducerWatcher<TReadModel>
Inherited Members

Properties

Observable

Gets the observable for the reducer.

public IObservable<ReducerChangeset<TReadModel>> Observable { get; }

Property Value

IObservable<ReducerChangeset<TReadModel>>

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Start()

Start the watcher.

public void Start()

Stop()

Stop the watcher.

public void Stop()