Packages

  • package root
    Definition Classes
    root
  • package zio
    Definition Classes
    root
  • package test

    _ZIO Test_ is a featherweight testing library for effectful programs.

    _ZIO Test_ is a featherweight testing library for effectful programs.

    The library imagines every spec as an ordinary immutable value, providing tremendous potential for composition. Thanks to tight integration with ZIO, specs can use resources (including those requiring disposal), have well- defined linear and parallel semantics, and can benefit from a host of ZIO combinators.

    import zio.test._
    import zio.clock.nanoTime
    import Assertion.isGreaterThan
    
    object MyTest extends DefaultRunnableSpec {
      def spec = suite("clock")(
        testM("time is non-zero") {
          assertM(nanoTime)(isGreaterThan(0))
        }
      )
    }
  • ZEnv
p

zio

package zio

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. zio
  2. VersionSpecific
  3. PlatformSpecific
  4. EitherCompat
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package test

    _ZIO Test_ is a featherweight testing library for effectful programs.

    _ZIO Test_ is a featherweight testing library for effectful programs.

    The library imagines every spec as an ordinary immutable value, providing tremendous potential for composition. Thanks to tight integration with ZIO, specs can use resources (including those requiring disposal), have well- defined linear and parallel semantics, and can benefit from a host of ZIO combinators.

    import zio.test._
    import zio.clock.nanoTime
    import Assertion.isGreaterThan
    
    object MyTest extends DefaultRunnableSpec {
      def spec = suite("clock")(
        testM("time is non-zero") {
          assertM(nanoTime)(isGreaterThan(0))
        }
      )
    }

Type Members

  1. type Canceler[-R] = ZIO[R, Nothing, Any]
  2. type IO[+E, +A] = ZIO[Any, E, A]
  3. type Managed[+E, +A] = ZManaged[Any, E, A]
  4. type Queue[A] = ZQueue[Any, Nothing, Any, Nothing, A, A]
  5. type RIO[-R, +A] = ZIO[R, Throwable, A]
  6. type RManaged[-R, +A] = ZManaged[R, Throwable, A]
  7. type TagType = LightTypeTag
    Definition Classes
    VersionSpecific
  8. type TaggedType[A] = Tag[A]
    Definition Classes
    VersionSpecific
  9. type Task[+A] = ZIO[Any, Throwable, A]
  10. type TaskManaged[+A] = ZManaged[Any, Throwable, A]
  11. type UIO[+A] = ZIO[Any, Nothing, A]
  12. type UManaged[+A] = ZManaged[Any, Nothing, A]
  13. type URIO[-R, +A] = ZIO[R, Nothing, A]
  14. type URManaged[-R, +A] = ZManaged[R, Nothing, A]
  15. type ZEnv = Clock with Console with System with Random
    Definition Classes
    PlatformSpecific

Value Members

  1. object ZEnv
    Definition Classes
    PlatformSpecific

Inherited from VersionSpecific

Inherited from PlatformSpecific

Inherited from EitherCompat

Inherited from AnyRef

Inherited from Any

Ungrouped