node-server-sdk

Home > @eppo/node-server-sdk > getInstance

getInstance() function

Used to access a singleton SDK client instance. Use the method after calling init() to initialize the client.

Signature:

export declare function getInstance(): EppoClient;

Returns:

EppoClient

a singleton client instance or throws an Error if init() has not been called