Feature similar to `distinct` in RxJs
See original GitHub issueIs your feature request related to a problem? Please describe. I need have my Evt event emitter be idempotent since the source can emit duplicate events.
Describe the solution you’d like
I’d love a pipe
-like operator that can filter for events that have already been emitted.
Describe alternatives you’ve considered
RxJs has a distinct
operator that does exactly what I need. Since I’m already using Evt and I like the library, I’d like to continue using it if possible.
Additional context
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
distinct - RxJS
distinct link Returns an Observable that emits all items emitted by the source Observable that are distinct by comparison from previous items.
Read more >distinctUntilChanged - Learn RxJS
Only emit when the current value is different than the last. distinctUntilChanged uses === comparison by default, object references must match!
Read more >Rxjs Filtering Operators — Distinctness | by John Au-Yeung
The distinct operator emits the items from the source Observable that are distinct in comparison to previous items from the source. It takes...
Read more >RxJS distinct() Filtering Operator - Javatpoint
RxJS distinct () operator is a filtering operator that returns all the values from the source Observable that are distinct when compared with...
Read more >How to apply distinct() to array of objects RxJS? - Stack Overflow
The distinct operator works across multiple events. For each event, it filters out any duplicates (with the definition of duplicate customizable ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Will test this out today!
Thank you! 😊 Yes it’s released already, both in v1 and in v2 (beta).