Method: Redis#pipelined

Defined in:
lib/redis.rb

#pipelined(exception: true) ⇒ Object



102
103
104
105
106
107
108
# File 'lib/redis.rb', line 102

def pipelined(exception: true)
  synchronize do |client|
    client.pipelined(exception: exception) do |raw_pipeline|
      yield PipelinedConnection.new(raw_pipeline, exception: exception)
    end
  end
end