private async Task <IList <byte[]> > HMGetCoreAsync(byte[] key, IEnumerable <byte[]> fields) { using var connection = new RedisConnection(_connectionSettings); var command = new HMGet(connection.GetStream(), key, fields); return(await command.ExecuteAsync()); }
private IList <byte[]> HMGetCore(byte[] key, IEnumerable <byte[]> fields) { using var connection = new RedisConnection(_connectionSettings); var command = new HMGet(connection.GetStream(), key, fields); return(command.Execute()); }