Package

zio

system

Permalink

package system

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. system
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type System = Has[Service]

    Permalink

Value Members

  1. object System extends Serializable

    Permalink
  2. def env(variable: ⇒ String): ZIO[System, SecurityException, Option[String]]

    Permalink

    Retrieves the value of an environment variable.

  3. def envOrElse(variable: String, alt: ⇒ String): ZIO[System, SecurityException, String]

    Permalink

    Retrieves the value of an environment variable or else returns the specified fallback value.

  4. def envOrOption(variable: String, alt: ⇒ Option[String]): ZIO[System, SecurityException, Option[String]]

    Permalink

    Retrieves the value of an environment variable or else returns the specified optional fallback value.

  5. val envs: ZIO[System, SecurityException, Map[String, String]]

    Permalink

    Retrieves the values of all environment variables.

  6. val lineSeparator: URIO[System, String]

    Permalink

    Retrieves the value of the system-specific line separator.

  7. val properties: ZIO[System, Throwable, Map[String, String]]

    Permalink

    Retrieves the values of all system properties.

  8. def property(prop: ⇒ String): ZIO[System, Throwable, Option[String]]

    Permalink

    Retrieves the value of a system property.

  9. def propertyOrElse(prop: String, alt: ⇒ String): RIO[System, String]

    Permalink

    Retrieves the value of a system property or else return the specified fallback value.

  10. def propertyOrOption(prop: String, alt: ⇒ Option[String]): ZIO[System, Throwable, Option[String]]

    Permalink

    Retrieves the value of a system property or else return the specified optional fallback value.

Inherited from AnyRef

Inherited from Any

Ungrouped