voluptasmollitia
Version:
Monorepo for the Firebase JavaScript SDK
27 lines (15 loc) • 770 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@firebase/remote-config](./remote-config.md) > [ensureInitialized](./remote-config.ensureinitialized.md)
## ensureInitialized() function
Ensures the last activated config are available to the getters.
<b>Signature:</b>
```typescript
export declare function ensureInitialized(remoteConfig: RemoteConfig): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| remoteConfig | [RemoteConfig](./remote-config.remoteconfig.md) | The <code>RemoteConfig</code> instance. |
<b>Returns:</b>
Promise<void>
A promise that resolves when the last activated config is available to the getters.