Function18ToLayerSyntax

final implicit class Function18ToLayerSyntax[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S](self: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R) => S)(implicit evidence$172: Tag[A], evidence$173: Tag[B], evidence$174: Tag[C], evidence$175: Tag[D], evidence$176: Tag[E], evidence$177: Tag[F], evidence$178: Tag[G], evidence$179: Tag[H], evidence$180: Tag[I], evidence$181: Tag[J], evidence$182: Tag[K], evidence$183: Tag[L], evidence$184: Tag[M], evidence$185: Tag[N], evidence$186: Tag[O], evidence$187: Tag[P], evidence$188: Tag[Q], evidence$189: Tag[R], evidence$190: Tag[S])
class Object
trait Matchable
class Any

Value members

Concrete methods

def toLayer[S1 >: S : Tag]: URLayer[Has[A] & Has[B] & Has[C] & Has[D] & Has[E] & Has[F] & Has[G] & Has[H] & Has[I] & Has[J] & Has[K] & Has[L] & Has[M] & Has[N] & Has[O] & Has[P] & Has[Q] & Has[R], Has[S1]]

Converts this function to a Layer that depends upon its inputs.

Converts this function to a Layer that depends upon its inputs.

case class FooLive(config: Config, repo: Repo) extends Foo

val live: URLayer[Has[Config] with Has[Repo], Has[Foo]] =
 FooLive.toLayer