Packages

c

zio.Has

HasSyntax

implicit final class HasSyntax[Self <: Has[_]] extends AnyVal

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HasSyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new HasSyntax(self: Self)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def ++[B <: Has[_]](that: B)(implicit arg0: zio.Tag[B]): Self with B
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  5. def add[B](b: B)(implicit tagged: zio.Tag[B]): Self with Has[B]

    Adds a service to the environment.

  6. def addAt[K, A](k: K, a: A)(implicit ev: <:<[Self, HasMany[K, A]], tagged: zio.Tag[Map[K, A]]): Self

    Adds a service to the environment.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def get[B](implicit ev: <:<[Self, Has[B]], tagged: zio.Tag[B]): B

    Retrieves a service from the environment.

  9. def getAt[K, A](k: K)(implicit ev: <:<[Self, HasMany[K, A]], tagged: zio.Tag[Map[K, A]]): Option[A]

    Retrieves a service at the specified key from the environment.

  10. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def prune(implicit tagged: zio.Tag[Self]): Self

    Prunes the environment to the set of services statically known to be contained within it.

  13. def toString(): String
    Definition Classes
    Any
  14. def union[B <: Has[_]](that: B)(implicit arg0: zio.Tag[B]): Self with B

    Combines this environment with the specified environment.

  15. def unionAll[B <: Has[_]](that: B): Self with B

    Combines this environment with the specified environment.

    Combines this environment with the specified environment. In the event of service collisions, which may not be reflected in statically known types, the right hand side will be preferred.

  16. def update[B](f: (B) => B)(implicit arg0: zio.Tag[B], ev: MustHave[Self, B]): Self

    Updates a service in the environment.

  17. def updateAt[K, A](k: K)(f: (A) => A)(implicit ev: MustHave[Self, Map[K, A]], tagged: zio.Tag[Map[K, A]]): Self

    Updates a service at the specified key in the environment.

Inherited from AnyVal

Inherited from Any

Ungrouped