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