All Downloads are FREE. Search and download functionalities are using the official Maven repository.

izumi.functional.bio.impl.ForkMonix.scala Maven / Gradle / Ivy

The newest version!
//package izumi.functional.bio.impl
//
//import izumi.functional.bio.{Fiber2, Fork2}
//import monix.bio.IO
//
//object ForkMonix extends ForkMonix
//
//class ForkMonix extends Fork2[monix.bio.IO] {
//  override def fork[R, E, A](f: IO[E, A]): IO[Nothing, Fiber2[IO, E, A]] = {
//    f.start.map(Fiber2.fromMonix)
//  }
//}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy