ThrottleLatest

Immediately handle the first Effect, delaying any new effects by the provided window. When a new Effect is dispatched within the window, it is dispatched after the window elapses and the previous handler is canceled if still running.

Constructors

Link copied to clipboard
constructor(window: Duration)

Functions

Link copied to clipboard
open override fun <F, E> execute(transform: suspend FlowCollector<E>.(effect: F) -> Unit, effects: Flow<F>): Flow<E>