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
for here - await viewModel.startObservingPeopleUpdates(name: newValue), each time the searchText change will subscribe to the flow. which means that self.peopleUpdates = peopleUpdates will execute multiple times.
So my question was that how can we avoid this?
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
-
Hi guys, I have a case that needs query list data from the SwiftUI code
e.g
for here - await viewModel.startObservingPeopleUpdates(name: newValue), each time the searchText change will subscribe to the flow. which means that
self.peopleUpdates = peopleUpdates
will execute multiple times.So my question was that how can we avoid this?
Beta Was this translation helpful? Give feedback.
All reactions