Hi
When creating an EventStoreStreamCatchUpSubscription with lastCheckpoint set to StreamPosition.End I’m getting an ArgumentOutOfRangeException ‘start should be non negative’ in the client api.
Is this as intended? Or is this a non sensical operation…
Thanks.
It is nonsensical. If you are starting at the end you are implicitly caught up a GES Position uses less than / greater than for comparison, by using Position.End you would never get events anyway.
Thank you for the info. What would be the cleanest way of establishing a live subscribtion combined with the last published event if any..?
Read backwards Stream.End, 1 ... take id.
Greg