Defines async sorted set methods for Redis, enabling leaderboards and scoring.
// Source: https://github.com/imperugo/StackExchange.Redis.Extensions | License: MIT | Copyright Ugo Lattanzi
// Provided via justclaw.it.com; keep this notice with the code.
// Copyright (c) Ugo Lattanzi. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading.Tasks;
using StackExchange.Redis.Extensions.Core.Models;
namespace StackExchange.Redis.Extensions.Core.Abstractions;
/// <summary>
/// The Redis Database
/// </summary>
public partial interface IRedisDatabase
{
/// <summary>
/// Add the entry to a sorted set with a score
/// </summary>
/// <remarks>
/// Time complexity: O(1)
/// </remarks>
/// <typeparam name="T">The type of th
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key