Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Fixes for paged iterations.#126

Merged
jmuk merged 2 commits intogoogleapis:masterfrom
jmuk:max-results
Mar 30, 2017
Merged

Fixes for paged iterations.#126
jmuk merged 2 commits intogoogleapis:masterfrom
jmuk:max-results

Conversation

@jmuk
Copy link
Contributor

@jmuk jmuk commented Mar 27, 2017

- Fix #123: introduces maxResults parameter
- Fix #124: fixed the behaviors of the streaming
  it seems better to be back of using through2.
@codecov-io
Copy link

codecov-io commented Mar 27, 2017

Codecov Report

Merging #126 into master will increase coverage by 0.08%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    googleapis/gax-nodejs#126      +/-   ##
=========================================
+ Coverage   92.22%   92.3%   +0.08%     
=========================================
  Files          11      11              
  Lines        1286    1300      +14     
  Branches      259     267       +8     
=========================================
+ Hits         1186    1200      +14     
  Misses        100     100
Impacted Files Coverage Δ
lib/gax.js 90.76% <100%> (+0.29%) ⬆️
lib/paged_iteration.js 90.52% <87.5%> (+0.87%) ⬆️
lib/bundling.js 95.3% <0%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bb57085...fc54753. Read the comment docs.

@jmuk
Copy link
Contributor Author

jmuk commented Mar 29, 2017

friendly ping -- please review this.

});
stream.on('resume', function() {
apiCall(request, options, callback);
});

This comment was marked as spam.

This comment was marked as spam.

@jmuk jmuk merged commit f649776 into googleapis:master Mar 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

maxResults for paged iterations, both stream version and non-stream version Bug: stream version of paged iteration can't stop in the middle properly

4 participants