Function8ToLayerSyntax

final implicit class Function8ToLayerSyntax[A, B, C, D, E, F, G, H, I](self: (A, B, C, D, E, F, G, H) => I)(implicit evidence$37: Tag[A], evidence$38: Tag[B], evidence$39: Tag[C], evidence$40: Tag[D], evidence$41: Tag[E], evidence$42: Tag[F], evidence$43: Tag[G], evidence$44: Tag[H], evidence$45: Tag[I])
class Object
trait Matchable
class Any

Value members

Concrete methods

def toLayer[I1 >: I : Tag]: URLayer[Has[A] & Has[B] & Has[C] & Has[D] & Has[E] & Has[F] & Has[G] & Has[H], Has[I1]]

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