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
Given an app which watches a collection with 10 elements like this:
final messagesSubscription = firestore.collection('messages').snapshots().listen((e){
// Use the update in the app
});
// After some time
messagesSubscription.cancel();
Some time later the app again calls:
final messagesSubscription = firestore.collection('messages').snapshots().listen((e){
// Use the update in the app
});
Does the 2nd call cost the 10 initial reads again? Or is the listener reusable in a certain time frame?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Given an app which watches a collection with 10 elements like this:
Some time later the app again calls:
Does the 2nd call cost the 10 initial reads again? Or is the listener reusable in a certain time frame?
Beta Was this translation helpful? Give feedback.
All reactions