相关疑难解决方法(0)

如何删除DocumentSnapshot事件的侦听器(Google Cloud FireStore)

我是Google Cloud FireStore的新手.

Document对象具有onSnapshot函数调用,用于附加DocumentSnapshot事件的侦听器.

是否有删除该侦听器的函数(如offSnapshot)?如果不是,我该如何实施呢?

firebase google-cloud-platform google-cloud-firestore

16
推荐指数
1
解决办法
1万
查看次数