Applications should instantiate a single instance for the lifetime of the application.
The client will begin attempting to connect to LaunchDarkly as soon as it is created. To
determine when it is ready to use, call LDClient.waitForInitialization, or register an
event listener for the "ready" event using LDClient.on.
Important: Do not try to instantiate LDClient with its constructor
(new LDClient()/new LDClientImpl()/new LDClientNode()); the SDK does not currently support
this.
Creates an instance of the LaunchDarkly client.
Applications should instantiate a single instance for the lifetime of the application. The client will begin attempting to connect to LaunchDarkly as soon as it is created. To determine when it is ready to use, call LDClient.waitForInitialization, or register an event listener for the
"ready"
event using LDClient.on.Important: Do not try to instantiate
LDClient
with its constructor (new LDClient()/new LDClientImpl()/new LDClientNode()
); the SDK does not currently support this.