Skip to content

FeatureFlagClientOptions

Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:156

Where createFeatureFlagClient takes the OpenFeature client from.

optional client?: Client

Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:161

Escape hatch: a fully constructed OpenFeature Client. Takes precedence over provider.


optional domain?: string

Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:174

OpenFeature domain (named client) to bind the provider/client to. Lets you run multiple providers side by side. Defaults to the unnamed default client.


optional provider?: Provider

Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:168

An OpenFeature Provider to register — e.g. an Unleash or Flagsmith provider. Registered with setProviderAndWait, or setProvider when waitForReady is false, before the client is resolved.


optional waitForReady?: boolean

Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:180

Whether to await provider readiness via setProviderAndWait. Defaults to true. Ignored when client is supplied.