-
Notifications
You must be signed in to change notification settings - Fork 83
feat: Added project_config_manager interface #572
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
Conversation
a157626
to
32576f4
Compare
* Returns the optimizely config object | ||
* @return {ProjectConfig} | ||
*/ | ||
getOptimizelyConfig(): ProjectConfig; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment is wrong - this returns an OptmizelyConfig
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, thanks! It is a totally different OptimizelyConfig
object. I updated the comments and the interface as well.
* Stop the internal datafile manager and remove all update listeners | ||
* @return {Promise|void} | ||
*/ | ||
stop(): Promise<void> | void; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it never returns a promise, just void
.
32576f4
to
a9b71e4
Compare
Summary
project_config_manager
interfaceTests