public void TestScripsLoaded() { var script = RedisScriptLoader.Load(RedisScript.JoinedParticipantsRepository_RemoveParticipant); Assert.NotNull(script); }
public async ValueTask <RedisResult> ExecuteScriptAsync(RedisScript script, params string[] parameters) { var scriptContent = RedisScriptLoader.Load(script); return(await _database.ScriptEvaluateAsync(scriptContent, parameters.Select(x => (RedisKey)x).ToArray())); }