blob: 5f3db6582c7306ab3cc45e382c12f419638a24d7 (
plain) (
tree)
|
|
package com.softwaremill.sttp.impl
import _root_.cats.effect.IO
import com.softwaremill.sttp.testing.ConvertToFuture
import scala.concurrent.Future
package object cats {
val convertCatsIOToFuture: ConvertToFuture[IO] = new ConvertToFuture[IO] {
override def toFuture[T](value: IO[T]): Future[T] = value.unsafeToFuture()
}
}
|