hara.runtime.redis.eval-script

+raw-compile

raw-compile

added in 4.0

(raw-compile ptr)

compiles a function as body and sha

raw-compile-form

added in 4.0

(raw-compile-form ptr)

converts a ptr into a form

raw-compile-raw

(raw-compile-raw ptr)

helper function for hara.runtime.redis.eval-script/raw-compile

raw-prep-in-fn

added in 4.0

(raw-prep-in-fn {:rt/keys [redis], :as entry} args)

prepares the arguments for entry

raw-prep-out-fn

added in 4.0

(raw-prep-out-fn {:rt/keys [redis], :as entry} out)

prepares arguments out

redis-invoke-sha

added in 4.0

(redis-invoke-sha redis ptr args)(redis-invoke-sha redis ptr args no-install)

creates a sha call

(redis-invoke-sha -client- redis/call-fn “PING” true) => (throws)

(redis-invoke-sha -client- redis/call-fn “PING”) => “PONG”

rt-install-fn

added in 4.0

(rt-install-fn redis sha body keys args)

retries the function if not installed