class Redis::Future
- Redis::Future
- Reference
- Object
Overview
A Redis::Future
is what pipelined commands return. They will be resolved
with the value of the command that spawned them.
Defined in:
pipeline.crInstance Method Summary
-
#resolve(value : Value)
Resolves a Future with the supplied Redis::Value
- #resolved? : Bool
-
#value
Read the value contained in this Future after it is resolved.
Instance Method Detail
def value
#
Read the value contained in this Future after it is resolved. If this
method is called before the Future is resolved, it will raise a
Redis::Future::NotResolved
exception.