Home > @eppo/js-client-sdk > offlineInit
Initializes the Eppo client with configuration parameters.
The purpose is for use-cases where the configuration is available from an external process that can bootstrap the SDK.
This method should be called once on application startup.
Signature:
export declare function offlineInit(config: IClientConfigSync): EppoClient;
Parameter | Type | Description |
---|---|---|
config | IClientConfigSync | client configuration |
Returns:
EppoClient
a singleton client instance