//arrow-fx-coroutines/arrow.fx.coroutines/Schedule/repeatAsFlow

repeatAsFlow

common suspend fun repeatAsFlow(fa: suspend () -> Input): <[Output](index.html)>

Runs this effect and emits the output, if it succeeded, decide using the provided policy if the effect should be repeated and emitted, if so, with how much delay. This will raise an error if a repeat failed.

Do you like Arrow?

Arrow Org
<