class Redis::Future

Overview

Futures are handles for values that will become available at a later point in time.

The API methods Redis#pipelined and Redis#multi make commands return futures instead of actual values.

See this example.

Defined in:

redis/future.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def value #

[View source]
def value=(new_value : Redis::RedisValue) #

[View source]