Function20ToLayerSyntax

final implicit class Function20ToLayerSyntax[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U](self: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T) => U)(implicit evidence$211: Tag[A], evidence$212: Tag[B], evidence$213: Tag[C], evidence$214: Tag[D], evidence$215: Tag[E], evidence$216: Tag[F], evidence$217: Tag[G], evidence$218: Tag[H], evidence$219: Tag[I], evidence$220: Tag[J], evidence$221: Tag[K], evidence$222: Tag[L], evidence$223: Tag[M], evidence$224: Tag[N], evidence$225: Tag[O], evidence$226: Tag[P], evidence$227: Tag[Q], evidence$228: Tag[R], evidence$229: Tag[S], evidence$230: Tag[T], evidence$231: Tag[U])
class Object
trait Matchable
class Any

Value members

Concrete methods

def toLayer[U1 >: U : 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[S] & Has[T], Has[U1]]

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