Setu-TS
    Preparing search index...

    Function FeatureFlagsPlugin

    • FeatureFlagsPlugin factory.

      Registers a FeatureFlagService implementing IFeatureFlags under CAPABILITIES.FEATURE_FLAGS, a feature-flags health indicator, and an onClose hook that stops the provider.

      Parameters

      Returns IPlugin

      The plugin instance.

      import { FeatureFlagsPlugin } from '@setu-ts/feature-flags-plugin';

      app.register(FeatureFlagsPlugin({
      provider: 'config',
      options: {
      flags: {
      'beta': { enabled: true },
      },
      },
      }));

      0.1.0