effectie.instances.ce2.toFuture.scala Maven / Gradle / Ivy
The newest version!
package effectie.instances.ce2
import cats.Id
import cats.effect.*
import effectie.core.ToFuture
import scala.concurrent.{ExecutionContext, Future}
/** @author Kevin Lee
* @since 2020-09-23
*/
object toFuture {
given ioToFuture: ToFuture[IO] with {
override def unsafeToFuture[A](fa: IO[A]): Future[A] =
fa.unsafeToFuture()
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy