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. final def asInstanceOf[T0]: T0

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

    Permalink

    Retrieves a service from the environment.

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

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

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

    Permalink

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

  11. def toString(): String

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

    Permalink

    Combines this environment with the specified environment.

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

  14. def update[B](f: (B) ⇒ B)(implicit arg0: zio.Tag[B], ev: MustHave[Self, B]): Self

    Permalink

    Updates a service in the environment.

Inherited from AnyVal

Inherited from Any

Ungrouped