Colton Idle
05/02/2024, 3:46 AMdistinctUntilChanged
and it does what it says on the tin... but I was wondering if there's any way to do distinctUntilChanged
for not just the last emission... but the last two emissions.
example: I keep getting emits of A > B > A > B > A > B, etc. I just want that to be recorded as one emit for each. Is that possible?Colton Idle
05/02/2024, 3:48 AMJohn Davidson
05/02/2024, 12:53 PMdistinctUntilChanged
Colton Idle
05/03/2024, 4:50 PM