UNPKG

voluptasmollitia

Version:
20 lines (11 loc) 603 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/database](./database.md) &gt; [OnDisconnect](./database.ondisconnect.md) &gt; [remove](./database.ondisconnect.remove.md) ## OnDisconnect.remove() method Ensures the data at this location is deleted when the client is disconnected (due to closing the browser, navigating to a new page, or network issues). <b>Signature:</b> ```typescript remove(): Promise<void>; ``` <b>Returns:</b> Promise&lt;void&gt; Resolves when synchronization to the server is complete.