Home > @firebase/database > onDisconnect
onDisconnect() function
Returns an OnDisconnect
object - see Enabling Offline Capabilities in JavaScript for more information on how to use it.
Signature:
export declare function onDisconnect(ref: Reference): OnDisconnect;
Parameters
Parameter | Type | Description |
---|---|---|
ref | Reference | The reference to add OnDisconnect triggers for. |
Returns: