Method: EventStoreClient::GRPC::Options::Streams::ReadOptions#initialize

Defined in:
lib/event_store_client/adapters/grpc/options/streams/read_options.rb

#initialize(stream_name, options, config:) ⇒ ReadOptions

Returns a new instance of ReadOptions.

Parameters:

  • stream_name (String)
  • options (Hash)
  • config (EventStoreClient::Config)
  • [String] (Hash)

    a customizable set of options

  • [Integer] (Hash)

    a customizable set of options

  • [Boolean] (Hash)

    a customizable set of options

  • [Symbol] (Hash)

    a customizable set of options

  • [Hash] (Hash)

    a customizable set of options



41
42
43
44
45
# File 'lib/event_store_client/adapters/grpc/options/streams/read_options.rb', line 41

def initialize(stream_name, options, config:)
  @stream_name = stream_name
  @options = options
  @config = config
end