The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/remote-config > ensureInitialized

ensureInitialized() function

Ensures the last activated config are available to the getters.

Signature:

export declare function ensureInitialized(remoteConfig: RemoteConfig): Promise<void>;

Parameters

Parameter Type Description
remoteConfig RemoteConfig The RemoteConfig instance.

Returns:

Promise<void>

A promise that resolves when the last activated config is available to the getters.