Evaluate a read-only Lua script server side.
const script = ` return ARGV[1] ` const result = await redis.evalRo(script, [], ["hello"]); console.log(result) // "hello"
The read-only lua script to run.
All of the keys accessed in the script
All of the arguments you passed to the script
The result of the script.
Was this page helpful?