Ejemplo n.º 1
0
        protected override async Task Open()
        {
            Track(_db);

            // Tracking doesn't connect immediately - do so before subscribing
            await _db.Connect(this);

            Track(await _db.Subscribe(this));
        }
Ejemplo n.º 2
0
        protected override async Task Open()
        {
            Track(_eventStoreProcess);
            Track(_clientDb);

            // Tracking doesn't connect immediately - do so before subscribing
            await _eventStoreProcess.Connect(this);

            await _clientDb.Connect(this);

            Track(await _clientDb.Subscribe(this));
        }