deftoLayer[M1 >: M](implicit arg0: zio.Tag[M1], arg1: IsNotIntersection[M1], 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, M1]
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