IOInterpretation

org.atnos.eff.addon.cats.effect.IOInterpretation
See theIOInterpretation companion object
trait IOInterpretation extends IOTypes

Attributes

Companion
object
Source
IOEffect.scala
Graph
Supertypes
trait IOTypes
class Object
trait Matchable
class Any
Known subtypes
object IOEffect.type
object IOInterpretation.type

Members list

Type members

Inherited types

type _Io[R] = Member[IO, R]

Attributes

Inherited from:
IOTypes
Source
IOEffect.scala
type _io[R] = MemberIn[IO, R]

Attributes

Inherited from:
IOTypes
Source
IOEffect.scala

Value members

Concrete methods

def ioAttempt[R, A](e: Eff[R, A])(implicit m: MemberInOut[IO, R]): Eff[R, Either[Throwable, A]]

Attributes

Source
IOEffect.scala
def ioMemo[R, A](key: AnyRef, cache: Cache, e: Eff[R, A])(implicit task: MemberInOut[IO, R]): Eff[R, A]

Memoize io effects using a cache

Memoize io effects using a cache

if this method is called with the same key the previous value will be returned

Attributes

Source
IOEffect.scala
def ioMemoized[R, A](key: AnyRef, e: Eff[R, A])(implicit task: MemberInOut[IO, R], m: MemberIn[Memoized, R]): Eff[R, A]

Memoize task values using a memoization effect

Memoize task values using a memoization effect

if this method is called with the same key the previous value will be returned

Attributes

Source
IOEffect.scala
def memoize[A](key: AnyRef, cache: Cache, io: IO[A]): IO[A]

memoize the io result using a cache

memoize the io result using a cache

Attributes

Source
IOEffect.scala
def runIoMemo[R, U, A](cache: Cache)(effect: Eff[R, A])(implicit m: Aux[Memoized, R, U], task: MemberIn[IO, U]): Eff[U, A]

Attributes

Source
IOEffect.scala
def to[F[_], A](e: Eff[Fx1[IO], A])(implicit f: LiftIO[F]): F[A]

Attributes

Source
IOEffect.scala
def unsafeRunAsync[A](e: Eff[Fx1[IO], A])(cb: Either[Throwable, A] => Unit)(implicit i: IORuntime): Unit

Attributes

Source
IOEffect.scala
def unsafeRunSync[A](e: Eff[Fx1[IO], A])(implicit i: IORuntime): A

Attributes

Source
IOEffect.scala
def unsafeRunTimed[A](e: Eff[Fx1[IO], A], limit: FiniteDuration)(implicit i: IORuntime): Option[A]

Attributes

Source
IOEffect.scala
def unsafeToFuture[A](e: Eff[Fx1[IO], A])(implicit i: IORuntime): Future[A]

Attributes

Source
IOEffect.scala

Implicits

Implicits

Attributes

Source
IOEffect.scala