/// <inheritdoc /> /// <summary> /// GetEnumerator perfom a browse from (api call) /// </summary> public IEnumerator <T> GetEnumerator() { while (_query.Cursor != null) { BrowseIndexResponse <T> result = _index.BrowseFrom <T>(_query); _query.Cursor = result.Cursor; foreach (var hit in result.Hits) { yield return(hit); } } }