Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.

Dev guideRecipesAPI Reference
Dev guideAPI ReferenceUser GuideLegal TermsGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev guide

OptimizelyConfigUpdate notification listener

This topic describes the OptimizelyContfigUpdate notification listener.

Description

Subscribe to the OPTIMIZELYCONFIGUPDATE notification listener to find out when the SDK's config manager has fetched an updated datafile. You can use the notification to re-evaluate some or all of your flag rules to ensure that updates are reflected as quickly as possible. The notification listener triggers on any datafile update. Datafile updates take place when there are any changes to the configuration or entities in the datafile's environment. For more information, see Get the datafile.

Parameters

When the listener is triggered, the information provided is the output of Get Optimizely Config. For more information, see the OptimizelyConfig topic in your SDK language.

Examples

For code examples, see the notification listener topic in your SDK language: