InjectEnv

caliban.interop.cats.InjectEnv
See theInjectEnv companion object
trait InjectEnv[F[_], R]

Injects a given environment of type R into the effect F.

Type parameters

F

the higher-kinded type of a polymorphic effect

R

the type of ZIO environment

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def inject[A](fa: F[A], env: R): F[A]

Injects the given environment R into the effect F.

Injects the given environment R into the effect F.

Attributes

def modify(env: R): F[R]

Modifies zio.RIO environment before re-injecting it into zio.RIO and F.

Modifies zio.RIO environment before re-injecting it into zio.RIO and F.

Value parameters

env

an environment taken from zio.RIO

Attributes

See also

See ToEffect for a particular usage.