FeatureFallbackFactory
FeatureFallbackFactory = (
context) =>unknown|Promise<unknown>
Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:33
Returns a fallback value to emit when the gating flag is disabled, instead of throwing FeatureDisabledError. Receives the pipeline context so the fallback can be request-aware.
Parameters
Section titled “Parameters”context
Section titled “context”Returns
Section titled “Returns”unknown | Promise<unknown>