Function6ToLayerSyntax

final implicit class Function6ToLayerSyntax[A, B, C, D, E, F, G](self: (A, B, C, D, E, F) => G)(implicit evidence$22: Tag[A], evidence$23: Tag[B], evidence$24: Tag[C], evidence$25: Tag[D], evidence$26: Tag[E], evidence$27: Tag[F], evidence$28: Tag[G])
class Object
trait Matchable
class Any

Value members

Concrete methods

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

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