Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
module EventStore
  module Consumer
    module Controls
      module Read
        def self.call(stream_name, direction=nil, &action)
          reader = EventStore::Client::HTTP::Reader.build(
            stream_name,
            direction: direction,
            slice_size: 1
          )

          reader.each &action
        end
      end
    end
  end
end