class Redis::Future

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.cr

Instance Method Summary

Instance Method Detail

def resolve(value : Value) #

Resolves a Future with the supplied Redis::Value


[View source]
def resolved? : Bool #

[View source]
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.


[View source]