js-client-sdk

Home > @eppo/js-client-sdk > offlineInit

offlineInit() function

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;

Parameters

Parameter Type Description
config IClientConfigSync client configuration

Returns:

EppoClient

a singleton client instance