Package

zio

Permalink

package zio

Linear Supertypes
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. All

Type Members

  1. type Canceler[R] = ZIO[R, Nothing, Any]

    Permalink
  2. implicit class EitherOps[L, R] extends AnyRef

    Permalink
    Definition Classes
    EitherCompat
  3. type FiberId = Long

    Permalink
  4. type IO[+E, +A] = ZIO[Any, E, A]

    Permalink
  5. type Managed[+E, +A] = ZManaged[Any, E, A]

    Permalink
  6. type Queue[A] = ZQueue[Any, Nothing, Any, Nothing, A, A]

    Permalink
  7. type RIO[-R, +A] = ZIO[R, Throwable, A]

    Permalink
  8. type RManaged[-R, +A] = ZManaged[R, Throwable, A]

    Permalink
  9. type Schedule[-A, +B] = ZSchedule[Any, A, B]

    Permalink
  10. type Task[+A] = ZIO[Any, Throwable, A]

    Permalink
  11. type TaskManaged[+A] = ZManaged[Any, Throwable, A]

    Permalink
  12. type UIO[+A] = ZIO[Any, Nothing, A]

    Permalink
  13. type UManaged[+A] = ZManaged[Any, Nothing, A]

    Permalink
  14. type URIO[-R, +A] = ZIO[R, Nothing, A]

    Permalink
  15. type URManaged[-R, +A] = ZManaged[R, Nothing, A]

    Permalink
  16. type ZEnv = Clock with Console with System with Random with Blocking

    Permalink
    Definition Classes
    ZEnvDefinition
  17. type TaskR[-R, +A] = ZIO[R, Throwable, A]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use RIO

Value Members

  1. package test

    Permalink

    _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))
        }
      }
    }

Deprecated Value Members

  1. val TaskR: RIO.type

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use RIO

Inherited from EitherCompat

Inherited from ZEnvDefinition

Inherited from AnyRef

Inherited from Any

Ungrouped