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 {
      suite("clock") {
        testM("time is non-zero") {
          assertM(nanoTime, isGreaterThan(0))
        }
      }
    }
p

zio

package zio

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. zio
  2. EitherCompat
  3. ZEnvDefinition
  4. AnyRef
  5. 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 {
      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 Task[+A] = ZIO[Any, Throwable, A]
  8. type TaskManaged[+A] = ZManaged[Any, Throwable, A]
  9. type UIO[+A] = ZIO[Any, Nothing, A]
  10. type UManaged[+A] = ZManaged[Any, Nothing, A]
  11. type URIO[-R, +A] = ZIO[R, Nothing, A]
  12. type URManaged[-R, +A] = ZManaged[R, Nothing, A]
  13. type ZEnv = Clock with Console with System with Random
    Definition Classes
    ZEnvDefinition

Deprecated Type Members

  1. type FiberId = Id
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use Fiber.Id

  2. type TaskR[-R, +A] = ZIO[R, Throwable, A]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use RIO

  3. type ZSchedule[-R, -A, +B] = Schedule[R, A, B]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use Schedule

Deprecated Value Members

  1. val TaskR: RIO.type
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use RIO

Inherited from EitherCompat

Inherited from ZEnvDefinition

Inherited from AnyRef

Inherited from Any

Ungrouped