public async ValueTask <Memory <byte>?> Eval <T1, T2, T3>(IBufferPool <byte> bufferPool, string script, T1 arg1, T2 arg2, T3 arg3, params string[] keys) { if (IsScriptCacheEnabled) { script = await Scripts.Get(script); } return(await Execute(EvalCommand <Optional <byte[]> > .Create(script, IsScriptCacheEnabled, arg1, arg2, arg3, keys), bufferPool)); }
public async ValueTask <TResult> Eval <T1, T2, T3, TResult>(string script, T1 arg1, T2 arg2, T3 arg3, params string[] keys) { if (IsScriptCacheEnabled) { script = await Scripts.Get(script); } return(await Execute(EvalCommand <TResult> .Create(script, IsScriptCacheEnabled, arg1, arg2, arg3, keys))); }