Skip to content

[FSSDK-12294] Config update listener#322

Open
junaed-optimizely wants to merge 2 commits intomasterfrom
junaed/fssdk-12294-sync-hook-impl-2.0
Open

[FSSDK-12294] Config update listener#322
junaed-optimizely wants to merge 2 commits intomasterfrom
junaed/fssdk-12294-sync-hook-impl-2.0

Conversation

@junaed-optimizely
Copy link
Contributor

Summary

  • Subscribe to OPTIMIZELY_CONFIG_UPDATE in the Provider so hooks automatically re-evaluate decisions when the datafile changes (e.g. polling)
  • Remove isClientReady state from ProviderStateStore — no hook reads it; readiness is derived from userContext + client.getOptimizelyConfig(). This eliminates a redundant decide() call per hook in sync datafile scenarios

Test plan

Tests have been added / modified / removed to adjust with the changes

Issues

  • FSSDK-12294

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.

1 participant