distinct

fun <T> Flow<T>.distinct(): Flow<T>

Returns a flow which only emits unique values of type T.

Sources

jvm source
Link copied to clipboard