R/redisRPOP.R

#'@title Remove and get the last element in a list
#'@export
redisRPop <- function( key, Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "RPOP"
	redisCommand(Rc, cmd, list(key))
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.