Determine whether a stream exists


Is there a way to determine whether a stream already exists form the api.

My use case is that I’m implementing an EventStore Identity user store. I need to find a user by ID. My streams have the ID as part of there name preceeded by the type.

Any help apreciated.

Kind regards


ReadStreamEventsForwardAsync if there is no stream the slice will tell you

Just to add to this slightly you can also you readeventsbackwards to
try to read the last event off the stream as this is likely the event
you are looking for