Function9ToLayerSyntax

final implicit class Function9ToLayerSyntax[A, B, C, D, E, F, G, H, I, J](self: (A, B, C, D, E, F, G, H, I) => J)(implicit evidence$46: Tag[A], evidence$47: Tag[B], evidence$48: Tag[C], evidence$49: Tag[D], evidence$50: Tag[E], evidence$51: Tag[F], evidence$52: Tag[G], evidence$53: Tag[H], evidence$54: Tag[I], evidence$55: Tag[J])
class Object
trait Matchable
class Any

Value members

Concrete methods

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

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