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.
Parameters
clientSideID: string
The client side ID. This is only used to query the kvNamespace above,
not to connect with LaunchDarkly servers.
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.