voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
25 lines (14 loc) • 660 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/remote-config](./remote-config.md) > [fetchConfig](./remote-config.fetchconfig.md)
## fetchConfig() function
Fetches and caches configuration from the Remote Config service.
<b>Signature:</b>
```typescript
export declare function fetchConfig(remoteConfig: RemoteConfig): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| remoteConfig | [RemoteConfig](./remote-config.remoteconfig.md) | The <code>RemoteConfig</code> instance. |
<b>Returns:</b>
Promise<void>