UNPKG

voluptasmollitia

Version:
27 lines (15 loc) 790 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/firestore](./firestore.md) &gt; [/](./firestore_.md) &gt; [enableNetwork](./firestore_.enablenetwork.md) ## enableNetwork() function Re-enables use of the network for this Firestore instance after a prior call to [disableNetwork()](./firestore_.disablenetwork.md)<!-- -->. <b>Signature:</b> ```typescript export declare function enableNetwork(firestore: FirebaseFirestore): Promise<void>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | firestore | [FirebaseFirestore](./firestore_.firebasefirestore.md) | | <b>Returns:</b> Promise&lt;void&gt; A promise that is resolved once the network has been enabled.