class

Redis::Pipeline

Inherits Redis::Commands::Deferred < Redis::Commands < Redis::Commands::Vector < Redis::Commands::HyperLogLog < Redis::Commands::Geo < Redis::Commands::Stream < Redis::Commands::SortedSet < Redis::Commands::Set < Redis::Commands::List < Redis::Commands::Hash < Reference < Object

Constructors

new(connection : Connection)

Wraps a connection so that our run and commit methods can execute against it.

Source

Instance methods

commit

Read all of the return values from all of the commands we've sent to Redis and resolve all Redis::Futures with them in the order they were sent.

Source
run(command)

The run method is required by the Commands mixin. When you run a Redis command, it gets pushed to the server via this method.

Source

Nested types