throttleFirst

fun <T> Flow<T>.throttleFirst(period: Duration): Flow<T>(source)

Throttles a Flow to emit at most one item per period.

Return

A new Flow that emits throttled values.

Parameters

period

Minimum interval between emissions.