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

Question: Why are the variation methods using a callback #9

Closed
mmazzarolo opened this issue Nov 16, 2018 · 1 comment
Closed

Question: Why are the variation methods using a callback #9

mmazzarolo opened this issue Nov 16, 2018 · 1 comment

Comments

@mmazzarolo
Copy link

Hey @p-janik !
First of all, thank you for creating this package, I'm a new LD user.
I have a quick question.

I noticed that the variation functions require a callback parameter but, by looking at the LD SDK Docs and at the source code, their native implementations seem to be synchronous calls (I guess because the real LD fetch for the features is done in the init method?)
Am I missing something?

Thank you!

@mmazzarolo
Copy link
Author

Just checked, it was just the only way of return the value from the native side 👍

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

No branches or pull requests

1 participant