Skip to content

Conversation

@mjc1283
Copy link
Contributor

@mjc1283 mjc1283 commented May 16, 2019

Summary

onReady sets a timeout that fulfills a timeout promise. The timeout promise is only used to race against the ready promise provided by ProjectConfigManager. So, as soon as ProjectConfigManager's ready promise is fulfilled, the timeout can be cleared. Before this change, the timeout would only be cleared in the close method.

Test plan

Manual & added unit test

@mjc1283 mjc1283 requested review from a team and jordangarcia May 16, 2019 00:08
@coveralls
Copy link

Coverage Status

Coverage increased (+0.007%) to 97.587% when pulling 3474172 on mcarroll/onready-clear-timeout-early into 057a219 on master.

@mjc1283 mjc1283 merged commit 69dbde1 into master May 16, 2019
@mjc1283 mjc1283 deleted the mcarroll/onready-clear-timeout-early branch May 16, 2019 00:38
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.

4 participants