Announce: cps-async-connect [support of async/await monads for cats-effects and scalaz)

Just published 1-st version of cps-async-connect: GitHub - rssh/cps-async-connect
Now is possible to use cats-effect or scalaz IO (or F[_]:Async) with dotty-cps-async async/await:

  val run = async[IO] {
       val ctr = await(IO.ref(0))
       while {
          val v = await(ctr.get)
          await(IO.println(v))
          if v % 3 == 0 then
             await(IO.println("fizz"))
          if v % 5 == 0 then
             await(IO.println("buzz"))
          await(ctr.update(_ + 1))
          v < 10
       } do ()
    }
2 Likes