A backport of IOAsyncInstances from fs2-cats to cats 0.9.0.
- SBT 0.13.16+
$ sbt publishLocal
import cats.effect.IO
import fs2.Stream
import fs2.interop.cats.effect._
import scala.concurrent.ExecutionContext.Implicits.global
val helloWorld: Stream[IO, Unit] =
Stream.eval(IO(println("Hello, world!")))
helloWorld.run.unsafeRunSync