LuaScriptingExtensions

dev.profunktor.redis4cats.extensions.luaScripting.LuaScriptingExtensions
implicit class LuaScriptingExtensions[F[_], K, V](redis: Scripting[F, K, V])(implicit evidence$1: ApplicativeThrow[F])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def evalLua(luaScript: LuaScript, output: ScriptOutputType[V], keys: List[K], values: List[V]): F[output.R]

Evaluate the cached lua script via it's sha. If the script is not cached, fallback to evaluating the script directly.

Evaluate the cached lua script via it's sha. If the script is not cached, fallback to evaluating the script directly.

Value parameters

keys

keys to script

luaScript

the lua script with its content and sha

output

output of script

values

values to script

Attributes

Returns

ScriptOutputType