Function12ToLayerSyntax

final implicit class Function12ToLayerSyntax[A, B, C, D, E, F, G, H, I, J, K, L, M](self: (A, B, C, D, E, F, G, H, I, J, K, L) => M)(implicit evidence$79: Tag[A], evidence$80: Tag[B], evidence$81: Tag[C], evidence$82: Tag[D], evidence$83: Tag[E], evidence$84: Tag[F], evidence$85: Tag[G], evidence$86: Tag[H], evidence$87: Tag[I], evidence$88: Tag[J], evidence$89: Tag[K], evidence$90: Tag[L], evidence$91: Tag[M])
class Object
trait Matchable
class Any

Value members

Concrete methods

def toLayer[M1 >: M : 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[M1]]

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