MCPcopy Create free account
hub / github.com/vercel/examples / getClient

Function getClient

toolbar/toolbar-launchdarkly/app/launchdarkly.ts:9–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7}
8
9export async function getClient(): Promise<LaunchDarkly.LDClient> {
10 if (launchDarklyClient) {
11 await launchDarklyClient.waitForInitialization()
12 return launchDarklyClient
13 }
14 await initialize()
15 return launchDarklyClient
16}

Callers 1

getFlagsFunction · 0.90

Calls 1

initializeFunction · 0.85

Tested by

no test coverage detected