Const
The environment API Key
Optional
config: RemoteEvaluationConfigSee ExperimentConfig for config options
Initialize a local evaluation client.
A local evaluation client can evaluate local flags or experiments for a user without requiring a remote call to the amplitude evaluation server. In order to best leverage local evaluation, all flags and experiments being evaluated server side should be configured as local.
The local evaluation client.
The environment API Key
Optional
config: LocalEvaluationConfigSee ExperimentConfig for config options
Initializes a remote evaluation client.
The environment API Key
Optional
config: RemoteEvaluationConfigSee ExperimentConfig for config options
Provides factory methods for storing singleton instances of ExperimentClient.