mapToUnit

fun <T> Flow<T>.mapToUnit(): Flow<Unit>

Replaces every upstream value with Unit.

Useful when only the fact that something happened matters, not the value.