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 Predicate.gt
    
    object MyTest extends DefaultRunnableSpec {
      suite("clock") {
        testM("time is non-zero") {
          assertM(nanoTime, gt(0))
        }
      }
    }
p

zio

package zio

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

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 Predicate.gt
    
    object MyTest extends DefaultRunnableSpec {
      suite("clock") {
        testM("time is non-zero") {
          assertM(nanoTime, gt(0))
        }
      }
    }

Type Members

  1. type Canceler = UIO[_]
  2. type FiberId = Long
  3. type IO[+E, +A] = ZIO[Any, E, A]
  4. type Managed[+E, +A] = ZManaged[Any, E, A]
  5. type Queue[A] = ZQueue[Any, Nothing, Any, Nothing, A, A]
  6. type RIO[-R, +A] = ZIO[R, Throwable, A]
  7. type Schedule[-A, +B] = ZSchedule[Any, A, B]
  8. type Task[+A] = ZIO[Any, Throwable, A]
  9. type UIO[+A] = ZIO[Any, Nothing, A]
  10. type URIO[-R, +A] = ZIO[R, Nothing, A]

Deprecated Type Members

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

    (Since version 1.0.0) use RIO

Deprecated Value Members

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

    (Since version 1.0.0) use RIO

Inherited from EitherCompat

Inherited from AnyRef

Inherited from Any

Ungrouped