lib/polyphony/adapters/redis.rb
# Reads from the connection, feeding incoming data to the parser.
#
# @return [void]
Reads from the connection, feeding incoming data to the parser.
Reads from the connection feeding incoming data to the parser .
def read
    reply = @reader.gets
    return reply if reply
    @connection.read_loop do |data|
      @reader.feed(data)
      reply = @reader.gets
      return reply unless reply == false
    end
  end
def read reply = @reader . gets return reply if reply @connection . read_loop do | data | @reader . feed ( data ) reply = @reader . gets return reply unless reply == false end end
Reads from the connection, feeding incoming data to the parser.
Reads from the connection feeding incoming data to the parser .
None
void