Function21ToLayerSyntax

final implicit class Function21ToLayerSyntax[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V](self: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U) => V)(implicit evidence$232: Tag[A], evidence$233: Tag[B], evidence$234: Tag[C], evidence$235: Tag[D], evidence$236: Tag[E], evidence$237: Tag[F], evidence$238: Tag[G], evidence$239: Tag[H], evidence$240: Tag[I], evidence$241: Tag[J], evidence$242: Tag[K], evidence$243: Tag[L], evidence$244: Tag[M], evidence$245: Tag[N], evidence$246: Tag[O], evidence$247: Tag[P], evidence$248: Tag[Q], evidence$249: Tag[R], evidence$250: Tag[S], evidence$251: Tag[T], evidence$252: Tag[U], evidence$253: Tag[V])
class Object
trait Matchable
class Any

Value members

Concrete methods

def toLayer[V1 >: V : 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[U], Has[V1]]

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