redis_scripts: Load Lua scripts into Redis

View source: R/script.R

redis_scriptsR Documentation

Load Lua scripts into Redis

Description

Load Lua scripts into Redis, providing a convenience function to call them with. Using this function means that scripts will be available to use via EVALSHA, and will be preloaded on the Redis server. Scripts are then accessed by name rather than by content or SHA. See the vignette for details and an example.

Usage

redis_scripts(con, ..., scripts = list(...))

Arguments

con

A Redis connection

...

A number of scripts

scripts

Alternatively, a list of scripts


redux documentation built on May 29, 2024, 6:15 a.m.