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

Support batch get expriment. #36

Closed
Hikkovo opened this issue Dec 23, 2024 · 2 comments
Closed

Support batch get expriment. #36

Hikkovo opened this issue Dec 23, 2024 · 2 comments

Comments

@Hikkovo
Copy link

Hikkovo commented Dec 23, 2024

hi! can support a function to batch get expriment? like this
fun batchGetExperimentAsync( user: StatsigUser, experimentNameList: List<String>, ): CompletableFuture<List<DynamicConfig>> {}

@brock-statsig
Copy link

Hello! Can you explain more about why you'd like this, instead of calling each in a list or loop?

@brock-statsig
Copy link

For context, a call to getExperiment() does not spawn a network request, all evaluations are stored in memory after initialization. We don't plan to support this without more info on the user need, happy to reopen if needed 😄

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

2 participants