R/redisPSETEX.R

#'@title Set the value and expiration in milliseconds of a key
#'@export
redisPSETEX <- function( key,  milliseconds,  value, Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "PSETEX"
	redisCommand(Rc, cmd, list(key, milliseconds, value))
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.