Skip to content

Using Transaction Result from last retry #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 22, 2018
Merged

Conversation

schmidt-sebastian
Copy link
Contributor

Fixes #110

Note that while the diff is pretty big, the change is pretty small: It moves the final .then() callback to transaction.commit(), rather than overwriting the result of the entire runTransaction() function. This allows us to return the result from a recursive execution.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 22, 2018
@codecov
Copy link

codecov bot commented Jan 22, 2018

Codecov Report

Merging #111 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #111   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          12     12           
  Lines        1644   1644           
=====================================
  Hits         1644   1644
Impacted Files Coverage Δ
src/index.js 100% <100%> (ø) ⬆️

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 7cdc1c5...fa09750. Read the comment docs.

@schmidt-sebastian schmidt-sebastian merged commit b3219b6 into master Jan 22, 2018
@ghost ghost removed the cla: yes This human has signed the Contributor License Agreement. label Jan 22, 2018
@schmidt-sebastian schmidt-sebastian deleted the transactionresult branch January 30, 2018 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants