# Flow.distinctUntilChanged won't work

**URL:** https://discuss.kotlinlang.org/t/flow-distinctuntilchanged-wont-work/22553
**Category:** Language Design
**Created:** [July 29, 2021, 1:29am UTC](https://discuss.kotlinlang.org/t/flow-distinctuntilchanged-wont-work/22553 "2021-07-29T01:29:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![GaryH](https://avatars.discourse-cdn.com/v4/letter/g/958977/32.png) [@GaryH](https://discuss.kotlinlang.org/u/GaryH)
#### Post date: [July 29, 2021, 1:29am UTC](https://discuss.kotlinlang.org/t/flow-distinctuntilchanged-wont-work/22553/1 "2021-07-29T01:29:51Z")

</div>

Hi, I found that when the backpressure is too high like continuously emit data for 10 times every second, the Flow.distinctUntilChanged won’t work.

Can anyone help me or is it a bug?

Thank you.

---

<div class="post-metadata">

### Author: ![fvasco](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/fvasco/32/1961_2.png) [@fvasco](https://discuss.kotlinlang.org/u/fvasco)
#### Post date: [July 29, 2021, 8:44am UTC](https://discuss.kotlinlang.org/t/flow-distinctuntilchanged-wont-work/22553/2 "2021-07-29T08:44:02Z")

</div>

Sure, please share a simple reproducer.
