mapToUnit

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

Emits kotlin.Unit value on the output Flow every time the source Flow emits a value.