private async Task <IList <byte[]> > HKeysCoreAsync(byte[] key) { using var connection = new RedisConnection(_connectionSettings); var command = new HKeys(connection.GetStream(), key); return(await command.ExecuteAsync()); }
private IList <byte[]> HKeysCore(byte[] key) { using var connection = new RedisConnection(_connectionSettings); var command = new HKeys(connection.GetStream(), key); return(command.Execute()); }