Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 AngularFirestoreCollection 的 valueChanges 函数从我的 ionic 应用程序订阅了 Angular Firestore 集合。但我不需要实时更新我的数据。我只需要订阅时存在的数据。有没有办法做到这一点?
您应该使用take(1)或first() rxjs 运算符。