Closed benPesso closed 2 years ago
I think it's pretty easy to create an aggregator that turns multiple listenables into a single listenable.
It is, but it's not verbose enough, and it adds another degree of separation in the code. Creating an aggregator (as in my first example) is just needless overhead, in my opinion.
Hi @benPesso, you can use Listenable.merge for that I think.
Pretty self explanatory, but it would make life easier.
Instead of having to do this:
We could do this (and maybe rename the property along the way to
refreshNotifiers
, since that's what it does):