interface ILaunchDarklyModule
Since 0.2.0

The subset of the SDK module surface this provider uses.

Methods

init(
sdkKey: string,
options?: Readonly<Record<string, unknown>>
): ILaunchDarklyClient

Creates a client. Synchronous — it returns immediately and connects in the background, which is why ILaunchDarklyClient.waitForInitialization exists.

Usage

import { type ILaunchDarklyModule } from "feature-flags-plugin/src/index.ts";