repeatAsFlow

suspend fun repeatAsFlow(fa: suspend () -> Input): Flow<Output>

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.