Definition Refresh

Feature definitions are refreshed every 3 minutes. This can be customized

Toggly.init({
  appKey: '<YOUR_APP_KEY>',
  environment: '<YOUR_APP_ENVIRONMENT>',
  featureFlagsRefreshInterval: 3 * 60 * 1000
})
.then(function () {
  // Now you can check if a feature (or more) is Enabled/Disabled ...
});

Last updated