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)); }
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)); }