Function11ToLayerSyntax

final implicit class Function11ToLayerSyntax[A, B, C, D, E, F, G, H, I, J, K, L](self: (A, B, C, D, E, F, G, H, I, J, K) => L)(implicit evidence$67: Tag[A], evidence$68: Tag[B], evidence$69: Tag[C], evidence$70: Tag[D], evidence$71: Tag[E], evidence$72: Tag[F], evidence$73: Tag[G], evidence$74: Tag[H], evidence$75: Tag[I], evidence$76: Tag[J], evidence$77: Tag[K], evidence$78: Tag[L])
class Object
trait Matchable
class Any

Value members

Concrete methods

def toLayer[L1 >: L : 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[L1]]

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