class EventSource::Postgres::Read::Iterator
Public Instance Methods
last_position()
click to toggle source
# File lib/event_source/postgres/read/iterator.rb, line 7 def last_position unless EventSource::Postgres::StreamName.category?(stream_name) batch.last.position else batch.last.global_position end end