Learn R Programming

rredis (version 1.7.0)

redisWatch: redisWatch

Description

Condition a transaction block on value changes.

Usage

redisWatch(keys)

Arguments

keys
A character vector or list of key names to watch for changes.

Value

Details

Watch the specified keys for changed values. If any of the values change for the watched keys, discard the current transaction block and unwatch all watched keys.

References

http://redis.io/commands