Home > @firebase/firestore > / > enableNetwork
enableNetwork() function
Re-enables use of the network for this Firestore instance after a prior call to disableNetwork().
Signature:
export declare function enableNetwork(firestore: FirebaseFirestore): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
firestore | FirebaseFirestore |
Returns:
Promise<void>
A promise that is resolved once the network has been enabled.