private async Task <long> LLenCoreAsync(byte[] key) { using var connection = new RedisConnection(_connectionSettings); var command = new LLen(connection.GetStream(), key); return(await command.ExecuteAsync()); }
private long LLenCore(byte[] key) { using var connection = new RedisConnection(_connectionSettings); var command = new LLen(connection.GetStream(), key); return(command.Execute()); }