Sha256: bd54dc3f64589bee3bb427ef0a79a79e421892220583b3c544f02e8cea8575c1
Contents?: true
Size: 451 Bytes
Versions: 4
Compression:
Stored size: 451 Bytes
Contents
require_relative './stream_events' require_relative './caught_up_stream' require_relative './event' require_relative './ref' module EsHttpClient class ReadonlyStream def initialize(stream_name, connection) @stream_name = stream_name @connection = connection end def replay_forward(&block) ref = StreamEvents.new(@stream_name, @connection).each(&block) CaughtUpStream.new(ref, @connection) end end end
Version data entries
4 entries across 4 versions & 1 rubygems