The client side ID. This is only used to query the kvNamespace above, not to connect with LaunchDarkly servers.
The Cloudflare KV configured for LaunchDarkly.
Optional configuration settings. The only supported option is logger.
The new LDClient instance.
Generated using TypeDoc
Creates an instance of the Cloudflare LaunchDarkly client.
Applications should instantiate a single instance for the lifetime of the worker. The client will begin attempting to connect to the configured Cloudflare KV as soon as it is created. To determine when it is ready to use, call LDClient.waitForInitialization.
Important: Do not try to instantiate
LDClient
with its constructor (new LDClient()/new LDClientImpl()/new LDClient()
); the SDK does not currently support this.