deftoLayer[P1 >: P](implicit arg0: zio.Tag[P1], arg1: IsNotIntersection[P1], trace: ZTraceElement): URLayer[A with B with C with D with E with F with G with H with I with J with K with L with M with N with O, P1]
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