mapTo

inline fun <T, R> Flow<T>.mapTo(value: R): Flow<R>(source)

Emits the given constant value on the output Flow every time the source Flow emits a value.

Parameters

value

The value to map each source value to.