Packages

  • package root
    Definition Classes
    root
  • package zio
    Definition Classes
    root
  • package blocking
    Definition Classes
    zio
  • package clock
    Definition Classes
    zio
  • package console
    Definition Classes
    zio
  • package duration
    Definition Classes
    zio
  • Duration
  • DurationOps
  • package internal
    Definition Classes
    zio
  • package random
    Definition Classes
    zio
  • package stm
    Definition Classes
    zio
  • package stream
    Definition Classes
    zio
  • package system
    Definition Classes
    zio
  • 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.test.environment.Live
    import zio.clock.nanoTime
    import Assertion.isGreaterThan
    
    object MyTest extends DefaultRunnableSpec {
      def spec = suite("clock")(
        testM("time is non-zero") {
          assertM(Live.live(nanoTime))(isGreaterThan(0))
        }
      )
    }
    Definition Classes
    zio
p

zio

duration

package duration

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

Type Members

  1. type Duration = java.time.Duration
  2. implicit final class DurationOps extends AnyVal

Value Members

  1. implicit def durationInt(n: Int): DurationSyntax
  2. implicit def durationLong(n: Long): DurationSyntax
  3. implicit val durationOrdering: Ordering[Duration]
  4. object Duration

Inherited from AnyRef

Inherited from Any

Ungrouped