Home > @firebase/remote-config > fetchAndActivate
fetchAndActivate() function
Performs fetch and activate operations, as a convenience.
Signature:
export declare function fetchAndActivate(remoteConfig: RemoteConfig): Promise<boolean>;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| remoteConfig | RemoteConfig | The remote config instance. | 
Returns:
Promise<boolean>
A promise which resolves to true if the current call activated the fetched configs. If the fetched configs were already activated, the promise will resolve to false.