Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ declare module 'launchdarkly-node-server-sdk' {
* 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]].
*
* It's important to make this a SINGLETON -- internally, the client instance maintains
* internal state that allows us to serve feature flags without making any remote requests. Be sure
* that you're not instantiating a new client with every request.
*
* @param key
* The SDK key.
Expand Down