| RedisSource | R Documentation |
Reads and writes the queue to a redis db
Reads and writes the queue to a redis db
new()Creates a redis source object.
RedisSource$new(id = redisIdGenerator()(), config = redisConfig())
idAn identifier to use for the queue
configA configuration list for redux::hiredis
getRedisConnection()Returns the underlying redis connection.
RedisSource$getRedisConnection()
pop()removes n items from the source and returns them
RedisSource$pop(n = -1)
nThe number of records to pop (-1 indicates all available).
push()Adds an item to the source.
RedisSource$push(msg, obj)
msgA string indicating the signal.
objThe object to associate with the signal.
destroy()Cleans up source after use.
RedisSource$destroy()
finalize()finalize
RedisSource$finalize()
clone()The objects of this class are cloneable with this method.
RedisSource$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.