Function17ToLayerSyntax

final implicit class Function17ToLayerSyntax[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R](self: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q) => R)(implicit evidence$154: Tag[A], evidence$155: Tag[B], evidence$156: Tag[C], evidence$157: Tag[D], evidence$158: Tag[E], evidence$159: Tag[F], evidence$160: Tag[G], evidence$161: Tag[H], evidence$162: Tag[I], evidence$163: Tag[J], evidence$164: Tag[K], evidence$165: Tag[L], evidence$166: Tag[M], evidence$167: Tag[N], evidence$168: Tag[O], evidence$169: Tag[P], evidence$170: Tag[Q], evidence$171: Tag[R])
class Object
trait Matchable
class Any

Value members

Concrete methods

def toLayer[R1 >: R : 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[R1]]

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