AddFromZIOZEnv

izumi.distage.model.definition.dsl.ModuleDefDSL.SetDSLBase.AddFromZIOZEnv
final implicit class AddFromZIOZEnv[T, AfterAdd](val dsl: SetDSLBase[T, AfterAdd, _]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def addZEnvResource[R1 <: Lifecycle[[_] =>> ZIO[Nothing, Any, _$37], T]](implicit evidence$1: ClassConstructor[R1], tag: ZIOEnvLifecycleTag[R1, T], pos: CodePositionMaterializer): AfterAdd

Adds set element binding to a Lifecycle class which has a ZIO effect type that specifies dependencies via zio environment.

Adds set element binding to a Lifecycle class which has a ZIO effect type that specifies dependencies via zio environment.

Warning: removes the precise subtype of Lifecycle because of Lifecycle.map: Integration checks on mixed-in as a trait onto a Lifecycle value result here will be lost

Attributes

def addZEnvResource[R, E >: DottyNothing, I <: T](resource: Lifecycle[[_] =>> ZIO[R, E, _$38], I])(implicit evidence$1: ZEnvConstructor[R], evidence$2: Tag[E], evidence$3: Tag[I], pos: CodePositionMaterializer): AfterAdd

Adds set element binding to a Lifecycle value which has a ZIO effect type that specifies dependencies via zio environment.

Adds set element binding to a Lifecycle value which has a ZIO effect type that specifies dependencies via zio environment.

Warning: removes the precise subtype of Lifecycle because of Lifecycle.map: Integration checks on mixed-in as a trait onto a Lifecycle value result here will be lost

Attributes

def addZEnvResource[R, E >: DottyNothing, I <: T](function: Functoid[Lifecycle[[_] =>> ZIO[R, E, _$41], I]])(implicit evidence$1: ZEnvConstructor[R], evidence$2: Tag[E], evidence$3: Tag[I], pos: CodePositionMaterializer): AfterAdd

Adds set element binding to a Lifecycle value which has a ZIO effect type that specifies dependencies via zio environment.

Adds set element binding to a Lifecycle value which has a ZIO effect type that specifies dependencies via zio environment.

Warning: removes the precise subtype of Lifecycle because of Lifecycle.map: Integration checks on mixed-in as a trait onto a Lifecycle value result here will be lost

Attributes

def addZIOEnv[R, E >: DottyNothing, I <: T](effect: ZIO[R, E, I])(implicit evidence$1: ZEnvConstructor[R], evidence$2: Tag[E], evidence$3: Tag[I], pos: CodePositionMaterializer): AfterAdd
def addZIOEnv[R, E >: DottyNothing, I <: T](function: Functoid[ZIO[R, E, I]])(implicit evidence$1: ZEnvConstructor[R], evidence$2: Tag[E], evidence$3: Tag[I], pos: CodePositionMaterializer): AfterAdd
def addZLayerEnv[R, E >: DottyNothing, I <: T](layer: ZLayer[R, E, I])(implicit evidence$1: ZEnvConstructor[R], evidence$2: Tag[E], evidence$3: Tag[I], pos: CodePositionMaterializer): AfterAdd
def addZLayerEnv[R, E >: DottyNothing, I <: T](function: Functoid[ZLayer[R, E, I]])(implicit evidence$1: ZEnvConstructor[R], evidence$2: Tag[E], evidence$3: Tag[I], pos: CodePositionMaterializer): AfterAdd
def addZManagedEnv[R, E >: DottyNothing, I <: T](resource: ZManaged[R, E, I])(implicit evidence$1: ZEnvConstructor[R], evidence$2: Tag[E], evidence$3: Tag[I], pos: CodePositionMaterializer): AfterAdd
def addZManagedEnv[R, E >: DottyNothing, I <: T](function: Functoid[ZManaged[R, E, I]])(implicit evidence$1: ZEnvConstructor[R], evidence$2: Tag[E], evidence$3: Tag[I], pos: CodePositionMaterializer): AfterAdd