• Configures a feature store backed by a Redis instance.

    For more details about how and why you can use a persistent feature store, see the Using Redis as a persistent feature store.

    const redisStoreFactory = RedisFeatureStoreFactory(
    {
    redisOpts: { host: 'redishost', port: 6379 },
    prefix: 'app1',
    cacheTTL: 30
    });

    Parameters

    Returns ((config) => default)

    A factory function suitable for use in the SDK configuration (LDOptions).

      • (config): default
      • Parameters

        • config: LDClientContext

        Returns default

Generated using TypeDoc