Builds a script runner bound to one client instance. When the client exposes
both scriptLoad and evalSha, each distinct script is loaded once and then
evaluated by SHA; a NOSCRIPT failure (the server's script cache was flushed
or the connection moved to another node) reloads the script and retries once.
Clients without the optional methods fall back to plain EVAL, so existing
implementations keep working unchanged.
Builds a script runner bound to one client instance. When the client exposes both
scriptLoadandevalSha, each distinct script is loaded once and then evaluated by SHA; aNOSCRIPTfailure (the server's script cache was flushed or the connection moved to another node) reloads the script and retries once. Clients without the optional methods fall back to plainEVAL, so existing implementations keep working unchanged.