You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix(database): improve type definitions
plus adds tests for new functions
* fix(database): API not-implemented notes, unused var fixes, conflict resolution
* style(database): `yarn lint` fixes
---------
Co-authored-by: Mike Hardy <github@mikehardy.net>
* Detaches a callback previously attached with the corresponding on*() (onValue, onChildAdded) listener.
842
+
* Note: This is not the recommended way to remove a listener. Instead, please use the returned callback function from the respective on* callbacks.
843
+
* Detach a callback previously attached with on*(). Calling off() on a parent listener will not automatically remove listeners registered on child nodes, off() must also be called on any child listeners to remove the callback.
844
+
* If a callback is not specified, all callbacks for the specified eventType will be removed.
845
+
* Similarly, if no eventType is specified, all callbacks for the Reference will be removed.
846
+
* Individual listeners can also be removed by invoking their unsubscribe callbacks.
847
+
* Note: Not implemented on native
848
+
*
849
+
* @param query - The query to run
850
+
* @param eventType One of the following strings: "value", "child_added", "child_changed", "child_removed", or "child_moved.
0 commit comments