Class

zio.Has

HasSyntax

Related Doc: package Has

Permalink

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. All

Instance Constructors

  1. new HasSyntax(self: Self)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. def ++[B <: Has[_]](that: B)(implicit arg0: zio.Tag[B]): Self with B

    Permalink
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  5. def add[B](b: B)(implicit tagged: zio.Tag[B]): Self with Has[B]

    Permalink

    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

    Permalink

    Adds a service to the environment.

  7. final def asInstanceOf[T0]: T0

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

    Permalink

    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]

    Permalink

    Retrieves a service at the specified key from the environment.

  10. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. def prune(implicit tagged: zio.Tag[Self]): Self

    Permalink

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

  13. def toString(): String

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

    Permalink

    Combines this environment with the specified environment.

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

    Permalink

    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

    Permalink

    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

    Permalink

    Updates a service at the specified key in the environment.

Inherited from AnyVal

Inherited from Any

Ungrouped