---
title: "Discussion on \"Chapter 13 : UseCase10 -distinctUntilChanged\" | Hashnode"
description: "Discussion on \"Chapter 13 : UseCase10 -distinctUntilChanged\". In real streams, values often repeat.\nBut sometimes, we only care when the value actually changes.\ndistinctUntilChanged() ensures that the same consecutive value is not emitted twice. It filters out d"
url: "https://hashnode.com/posts/chapter-13-usecase10-distinctuntilchanged/6990c7a84641c9876a17eeb4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Chapter 13 : UseCase10 -distinctUntilChanged](https://kotlinflow.hashnode.dev/chapter-13-usecase10-distinctuntilchanged?utm_source=hashnode&utm_medium=feed)

In real streams, values often repeat. But sometimes, we only care when the value actually changes. distinctUntilChanged() ensures that the same consecutive value is not emitted twice. It filters out d

Jan 27 · 2 min read · kotlinflow.hashnode.dev  
Updated Feb 20  
Read the article

-   [#distinctuntilchanged](https://hashnode.com/tag/distinctuntilchanged)
-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#flow](https://hashnode.com/tag/flow)
-   [#kotlin-flow](https://hashnode.com/tag/kotlin-flow)
-   [#distinct](https://hashnode.com/tag/distinct)
-   [#duplicate](https://hashnode.com/tag/duplicate)
-   [#usecase](https://hashnode.com/tag/usecase)

## Written by

[Ganesh Rama Hegde](https://hashnode.com/@hegde10122)

@hegde10122 · Mumbai,India

  
[View profile](https://hashnode.com/@hegde10122)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
