コード例 #1
0
ファイル: ProjectionTrack.cs プロジェクト: ifle/marten
        public void Start(DaemonLifecycle lifecycle)
        {
            _logger.StartingProjection(this, lifecycle);

            _store.Schema.EnsureStorageExists(_projection.Produces);

            startConsumers();

            Lifecycle = lifecycle;
            _fetcher.Start(this, lifecycle, _cancellation.Token);
        }
コード例 #2
0
ファイル: ProjectionTrack.cs プロジェクト: yovannyr/marten
        public void Start(DaemonLifecycle lifecycle)
        {
            _logger.StartingProjection(this, lifecycle);

            EnsureStorageExists(_tenant);

            startConsumers();

            Lifecycle = lifecycle;
            _fetcher.Start(this, lifecycle, _cancellation.Token);

            IsRunning = true;
        }