Hi, I wanted to play with `repeat` and `retry` pro...
# arrow
d
Hi, I wanted to play with
repeat
and
retry
provided by
Schedule
. But I got failure with a simple example:
Copy code
fun main() {
    var counter = 0
    val io = IO.effect {
        println("Run: ${counter++}")
        counter
    }
    io.repeat(IO.concurrent(), Schedule.once(IO.monad())).fix().unsafeRunSync()
}