escamoteur / functional_listener

MIT License
62 stars 10 forks source link

add select operator #8

Closed ffgiraldez closed 2 years ago

ffgiraldez commented 2 years ago

:tophat: What is the goal?

:boom: How can it be tested?

jacobaraujo7 commented 2 years ago

likes where()?

ffgiraldez commented 2 years ago

likes where()?

where allows you to emit changes based on a boolean condition of the incoming value, with select you can create a new value listenable that can emit a different type and at a different pace that the original one, because no matter how many times the source change that the returned notifier only emit when the selected value change compared with the previous emitted value

It's similar to BlocSelector of the flutter_block library.

escamoteur commented 2 years ago

Thanks a lot, sorry for the delay. @ffgiraldez would you be interested to help me maintain this package?

ffgiraldez commented 2 years ago

@escamoteur I can give you a hand if needed

escamoteur commented 2 years ago

@ffgiraldez that would be amazing. I add you as a maintainer and please watch this repository so you see upcoming questions and bugs too