blob: abffc90921ac9ed459c36c77af901a678eee355b (
plain) (
tree)
|
|
package com.softwaremill.sttp.impl
import _root_.cats.effect.IO
import com.softwaremill.sttp.testing.streaming.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()
}
}
|