Skip to content

feat (Optimizely) [OASIS-5907]: close promise tracks in-flight event dispatcher requests #404

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
Feb 19, 2020

Conversation

mjc1283
Copy link
Contributor

@mjc1283 mjc1283 commented Feb 19, 2020

Summary

Update to js-sdk-event-processor v0.4.0, which supports tracking in-flight event dispatcher requests in its stop() promise. The close promise (of Optimizely) is based on the event processor's stop promise, so by this upgrade, we get the new functionality. I updated the close doc comment to talk about this new behavior.

Test plan

Existing tests
Manually tested in Node, browser, and Lambda environments

Issues

https://optimizely.atlassian.net/browse/OASIS-5907

@mjc1283 mjc1283 added the WIP label Feb 19, 2020
@mjc1283 mjc1283 self-assigned this Feb 19, 2020
@coveralls
Copy link

coveralls commented Feb 19, 2020

Coverage Status

Coverage remained the same at 97.559% when pulling 730e379 on mcarroll/update-event-processor into e309c25 on master.

@mjc1283 mjc1283 removed the WIP label Feb 19, 2020
@mjc1283 mjc1283 removed their assignment Feb 19, 2020
@mjc1283 mjc1283 requested a review from a team February 19, 2020 20:49
@mjc1283 mjc1283 assigned mjc1283 and unassigned mjc1283 Feb 19, 2020
Copy link
Contributor

@mikeproeng37 mikeproeng37 left a comment

Choose a reason for hiding this comment

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

lgtm

@mjc1283 mjc1283 marked this pull request as ready for review February 19, 2020 21:18
@mjc1283 mjc1283 merged commit 9fe10a0 into master Feb 19, 2020
@mjc1283 mjc1283 deleted the mcarroll/update-event-processor branch February 19, 2020 22:11
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