Options
All
  • Public
  • Public/Protected
  • All
Menu

LaunchDarkly Server-Side Cloudflare Edge SDK (0.1.1)

Index

Functions

  • Creates an instance of the LaunchDarkly client.

    Applications should instantiate a single instance for the lifetime of the worker. The client will read in flags and related data from the provided kvNamespace. To determine when it is ready to use, call LDClient.waitForInitialization, or register an event listener for the "ready" event using [[LDClient.on]].

    Parameters

    • kvNamespace: KVNamespace

      KV store namespace binding

    • sdkKey: string

      The client-side SDK key for the environment

    • Optional options: LDCFWorkerOptions

      Optional configuration settings.

    Returns LDClient

    The new client instance.

Generated using TypeDoc