How, when and why to use asObservable() (Chapter 4)

And I have the same question too…

The same pattern is repeated in Chapter 10: categories.asObservable(), events.asObservable() where both categories & events are BehaviorRelay.

The question was asked at least twice:

with no definitive answer.

The only insight was given by @jecht83

seems that the intention to use it is to make clear to the user that only changes in self.images are being observed and nothing else

Somebody could verify/confirm aboves?
That it is only about “making intention clear”.

1 Like