Skip to content
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

Swap onStatus to invoke BEFORE onEnd rather than after #159

Merged
merged 2 commits into from
Apr 2, 2019

Conversation

hectim
Copy link
Contributor

@hectim hectim commented Apr 2, 2019

Changes

implemented changes specified in #155

Verification

There were 4 tests that broke with this change because they were explicitly expecting onEnd to come before onStatus, so I updated those. I also wrote 4 new tests to ensure that the onEnd handler is called with a status and that that status matches the one returned from onStatus.

Copy link
Contributor

@jonny-improbable jonny-improbable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note this may well be a breaking change for consumers if they rely on the current order.

@jonny-improbable jonny-improbable merged commit c8a573d into improbable-eng:master Apr 2, 2019
@jonnyreeves
Copy link
Contributor

jonnyreeves commented Apr 2, 2019 via email

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.

None yet

3 participants