deftoLayer[K1 >: K](implicit arg0: zio.Tag[K1], arg1: IsNotIntersection[K1], trace: ZTraceElement): URLayer[A with B with C with D with E with F with G with H with I with J, K1]
Converts this function to a Layer that depends upon its inputs.
Converts this function to a Layer that depends upon its inputs.
caseclass FooLive(config: Config, repo: Repo) extends Foo
val live: URLayer[Config with Repo, Foo] =
FooLive.toLayer