public void Start(DaemonLifecycle lifecycle) { _logger.StartingProjection(this, lifecycle); _store.Schema.EnsureStorageExists(_projection.Produces); startConsumers(); Lifecycle = lifecycle; _fetcher.Start(this, lifecycle, _cancellation.Token); }
public void Start(DaemonLifecycle lifecycle) { _logger.StartingProjection(this, lifecycle); EnsureStorageExists(_tenant); startConsumers(); Lifecycle = lifecycle; _fetcher.Start(this, lifecycle, _cancellation.Token); IsRunning = true; }