UNPKG

voluptasmollitia

Version:
27 lines (15 loc) 836 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/remote-config](./remote-config.md) &gt; [fetchAndActivate](./remote-config.fetchandactivate.md) ## fetchAndActivate() function Performs fetch and activate operations, as a convenience. <b>Signature:</b> ```typescript export declare function fetchAndActivate(remoteConfig: RemoteConfig): Promise<boolean>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | remoteConfig | [RemoteConfig](./remote-config.remoteconfig.md) | The remote config instance. | <b>Returns:</b> Promise&lt;boolean&gt; 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.