Function14ToLayerSyntax

final implicit class Function14ToLayerSyntax[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O](self: (A, B, C, D, E, F, G, H, I, J, K, L, M, N) => O)(implicit evidence$106: Tag[A], evidence$107: Tag[B], evidence$108: Tag[C], evidence$109: Tag[D], evidence$110: Tag[E], evidence$111: Tag[F], evidence$112: Tag[G], evidence$113: Tag[H], evidence$114: Tag[I], evidence$115: Tag[J], evidence$116: Tag[K], evidence$117: Tag[L], evidence$118: Tag[M], evidence$119: Tag[N], evidence$120: Tag[O])
class Object
trait Matchable
class Any

Value members

Concrete methods

def toLayer[O1 >: O : 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[O1]]

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