Eventstore: Checking EventStore connection

Created on 2 Oct 2016  路  2Comments  路  Source: EventStore/EventStore

There should be a property/method available on the ES connection that lets me see it's current state. Is it active? Has it been closed? Is there any simple check that would fix it.

Most helpful comment

I think that what @kalyanrajsista asked is a simple property or method to get the current state of the connection instead of handling events ourselves to keep the current state of the connection (event sourcing with connection events?)
Since this is a branch where breaking changes are allowed if necessary, why not just include them in the IEventStoreConnection interface? I think this is not even a breaking change at all. What is the reasoning about adding/removing and API to the client interface?

All 2 comments

I think that what @kalyanrajsista asked is a simple property or method to get the current state of the connection instead of handling events ourselves to keep the current state of the connection (event sourcing with connection events?)
Since this is a branch where breaking changes are allowed if necessary, why not just include them in the IEventStoreConnection interface? I think this is not even a breaking change at all. What is the reasoning about adding/removing and API to the client interface?

Was this page helpful?
0 / 5 - 0 ratings