removeQueue {doRedis}R Documentation

Remove a doRedis queue and delete all associated keys from Redis.

Description

Removing a doRedis queue cleans up associated keys in the Redis database and signals to workers listening on the queue to terminate. Workers terminate after their timeout period after their work queue is deleted.

Usage

removeQueue(queue)

Arguments

queue

the doRedis queue name

Value

NULL is invisibly returned; this function is called for the side effect of removing Redis keys associated with the specified queue.

Note

Workers listening for work on more than one queue will only terminate after all their queues have been deleted. See registerDoRedis for an example.


[Package doRedis version 3.0.2 Index]