Constructors
constructor
- new FlagConfigFetcher(apiKey: string, httpClient: HttpClient, serverUrl?: string, debug?: boolean): FlagConfigFetcher
-
Parameters
-
apiKey: string
-
httpClient: HttpClient
-
serverUrl: string = LocalEvaluationDefaults.serverUrl
-
debug: boolean = false
Methods
setRawReceiver
- setRawReceiver(rawReceiver: ((flags: string) => void)): void
-
Parameters
-
rawReceiver: ((flags: string) => void)
-
- (flags: string): void
-
Returns void
Returns void
Fetch local evaluation mode flag configs from the Experiment API server. These flag configs can be used to perform local evaluation.
Returns
The local evaluation mode flag configs for the initialized environment