Function16ToLayerSyntax

final implicit class Function16ToLayerSyntax[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q](self: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) => Q)(implicit evidence$137: Tag[A], evidence$138: Tag[B], evidence$139: Tag[C], evidence$140: Tag[D], evidence$141: Tag[E], evidence$142: Tag[F], evidence$143: Tag[G], evidence$144: Tag[H], evidence$145: Tag[I], evidence$146: Tag[J], evidence$147: Tag[K], evidence$148: Tag[L], evidence$149: Tag[M], evidence$150: Tag[N], evidence$151: Tag[O], evidence$152: Tag[P], evidence$153: Tag[Q])
class Object
trait Matchable
class Any

Value members

Concrete methods

def toLayer[Q1 >: Q : 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[Q1]]

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