#'@title Remove and get the first element in a list, or block until one is available
#'@export
redisBLPop <- function( key, Rc = NULL) {
if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
cmd <- "BLPOP"
redisCommand(Rc, cmd, list(key))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.