repeatAsFlow

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

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.