Packages

  • package root
    Definition Classes
    root
  • package zio
    Definition Classes
    root
  • package internal
    Definition Classes
    zio
  • package macros
  • Blocking
  • ExecutionMetrics
  • FiberRuntime
  • IsFatal
  • LoomSupport
  • MutableQueueFieldsPadding
  • MutableSetCompat
  • Platform
  • package metrics
    Definition Classes
    zio
  • package stm
    Definition Classes
    zio
  • package stream
    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.Clock.nanoTime
    
    object MyTest extends ZIOSpecDefault {
      def spec = suite("clock")(
        test("time is non-zero") {
          for {
            time <- Live.live(nanoTime)
          } yield assertTrue(time >= 0L)
        }
      )
    }
    Definition Classes
    zio
p

zio

internal

package internal

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package macros

Type Members

  1. abstract class ExecutionMetrics extends AnyRef
  2. final class FiberRuntime[E, A] extends Internal[E, A] with FiberRunnable
  3. sealed trait IsFatal extends (Throwable) => Boolean
  4. abstract class MutableQueueFieldsPadding[A] extends TailPadding[A] with Serializable
  5. trait MutableSetCompat[V] extends Set[V]

Value Members

  1. object Blocking
  2. object FiberRuntime
  3. object IsFatal
  4. object LoomSupport
  5. object Platform extends PlatformSpecific

Ungrouped