Function15ToLayerSyntax

final implicit class Function15ToLayerSyntax[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P](self: (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) => P)(implicit evidence$121: Tag[A], evidence$122: Tag[B], evidence$123: Tag[C], evidence$124: Tag[D], evidence$125: Tag[E], evidence$126: Tag[F], evidence$127: Tag[G], evidence$128: Tag[H], evidence$129: Tag[I], evidence$130: Tag[J], evidence$131: Tag[K], evidence$132: Tag[L], evidence$133: Tag[M], evidence$134: Tag[N], evidence$135: Tag[O], evidence$136: Tag[P])
class Object
trait Matchable
class Any

Value members

Concrete methods

def toLayer[P1 >: P : 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[P1]]

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