Contextual

trait Contextual[F[_], R] extends CatsInterop[F, R] with Contextual[F, R] with Contextual[F, R]

Contextual version of the CatsInterop.

Inherits two utility methods from ToEffect.Contextual and FromEffect.Contextual:

 def toEffect[A](rio: RIO[R, A], env: R): F[A]

 def fromEffect[A](fa: F[A], env: R): RIO[R, A]
Type parameters:
F

the higher-kinded type of a polymorphic effect

R

the type of ZIO environment

trait Contextual[F, R]
trait Contextual[F, R]
trait CatsInterop[F, R]
trait ToEffect[F, R]
trait FromEffect[F, R]
class Object
trait Matchable
class Any

Value members

Inherited methods

final def fromEffect[A](fa: F[A]): RIO[R, A]
Inherited from:
Contextual
def fromEffect[A](fa: F[A], env: R): RIO[R, A]
Inherited from:
Contextual
def toEffect[A](rio: RIO[R, A], env: R): F[A]
Inherited from:
Contextual
def toEffect[A](rio: RIO[R, A]): F[A]
Inherited from:
ToEffect

Inherited fields

final lazy val fromEffectK: FunctionK[F, [_] =>> RIO[R, _$2]]
Inherited from:
FromEffect
final val toEffectK: FunctionK[[_] =>> RIO[R, _$2], F]
Inherited from:
ToEffect