Open MustafaCa opened 4 years ago
Hi Eddy,
I need to stop the following query when the user switches to a different tab.
firebase.query( onQueryEvent, "/groups/" + groupKey + "/messages/", { singleEvent: false, orderBy: { type: firebase.QueryOrderByType.CHILD, value: 'createdAt' // mandatory when type is 'child' } } );
I do see an off method in the RT DB source, but not sure how to use it.
Any suggestions?
Thanks, Mustafa.
Hi Eddy,
I need to stop the following query when the user switches to a different tab.
I do see an off method in the RT DB source, but not sure how to use it.
Any suggestions?
Thanks, Mustafa.