Airship feature flag manager.

Constructors

Properties

Methods

Constructors

Properties

resultCache: AirshipFeatureFlagResultCache

Feature flag cache.

Methods

  • Retrieve a given flag's status and associated data by its name.

    Parameters

    • flagName: string

      The flag name

    • useResultCache: boolean = true

      If the response should use result cache or not.

    Returns Promise<FeatureFlag>

    A promise resolving to the feature flag requested.

    when failed to fetch