Package

zio

Permalink

package zio

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

Type Members

  1. trait =!=[A, B] extends Serializable

    Permalink

    Evidence type A is not equal to type B.

    Evidence type A is not equal to type B.

    Based on https://github.com/milessabin/shapeless.

    Annotations
    @implicitNotFound( "${A} must not be ${B}" )
  2. trait App extends BootstrapRuntime

    Permalink

    The entry point for a purely-functional application on the JVM.

    The entry point for a purely-functional application on the JVM.

    import zio.App
    import zio.console._
    
    object MyApp extends App {
    
      final def run(args: List[String]) =
        myAppLogic.exitCode
    
      def myAppLogic =
        for {
          _ <- putStrLn("Hello! What is your name?")
          n <- getStrLn
          _ <- putStrLn("Hello, " + n + ", good to meet you!")
        } yield ()
    }
  3. trait BootstrapRuntime extends Runtime[ZEnv]

    Permalink
  4. sealed trait CanFail[-E] extends AnyRef

    Permalink

    A value of type CanFail[E] provides implicit evidence that an effect with error type E can fail, that is, that E is not equal to Nothing.

    A value of type CanFail[E] provides implicit evidence that an effect with error type E can fail, that is, that E is not equal to Nothing.

    Annotations
    @implicitNotFound( ... )
  5. abstract class CancelableFuture[+A] extends Future[A] with FutureTransformCompat[A]

    Permalink
  6. type Canceler[-R] = ZIO[R, Nothing, Any]

    Permalink
  7. sealed trait Cause[+E] extends Product with Serializable

    Permalink
  8. sealed trait Chunk[+A] extends ChunkLike[A]

    Permalink

    A Chunk[A] represents a chunk of values of type A.

    A Chunk[A] represents a chunk of values of type A. Chunks are designed are usually backed by arrays, but expose a purely functional, safe interface to the underlying elements, and they become lazy on operations that would be costly with arrays, such as repeated concatenation.

    The implementation of balanced concatenation is based on the one for Conc-Trees in "Conc-Trees for Functional and Parallel Programming" by Aleksandar Prokopec and Martin Odersky. http://aleksandar-prokopec.com/resources/docs/lcpc-conc-trees.pdf

    NOTE: For performance reasons Chunk does not box primitive types. As a result, it is not safe to construct chunks from heterogeneous primitive types.

  9. sealed trait ChunkBuilder[A] extends Builder[A, Chunk[A]]

    Permalink

    A ChunkBuilder[A] can build a Chunk[A] given elements of type A.

    A ChunkBuilder[A] can build a Chunk[A] given elements of type A. ChunkBuilder is a mutable data structure that is implemented to efficiently build chunks of unboxed primitives and for compatibility with the Scala collection library.

  10. sealed trait ChunkCanBuildFrom[A] extends CanBuildFrom[Chunk[Any], A, Chunk[A]]

    Permalink

    ChunkCanBuildFrom provides implicit evidence that a collection of type Chunk[A] can be built from elements of type A.

    ChunkCanBuildFrom provides implicit evidence that a collection of type Chunk[A] can be built from elements of type A. Since a Chunk[A] can be built from elements of type A for any type A, this implicit evidence always exists. It is used primarily to provide proof that the target type of a collection operation is a Chunk to support high performance implementations of transformation operations for chunks.

  11. type Dequeue[+A] = ZQueue[Nothing, Any, Any, Nothing, Nothing, A]

    Permalink

    A queue that can only be dequeued.

  12. type ERef[+E, A] = ZRef[E, E, A, A]

    Permalink
  13. type ERefM[+E, A] = ZRefM[Any, Any, E, E, A, A]

    Permalink
  14. trait EitherCompat extends AnyRef

    Permalink
  15. implicit final class EitherOps[E, A] extends AnyRef

    Permalink
    Definition Classes
    EitherCompat
  16. sealed trait ExecutionStrategy extends AnyRef

    Permalink

    Describes a strategy for evaluating multiple effects, potentially in parallel.

    Describes a strategy for evaluating multiple effects, potentially in parallel. There are three possible execution strategies: Sequential, Parallel, and ParallelN.

  17. sealed trait Exit[+E, +A] extends Product with Serializable

    Permalink

    An Exit[E, A] describes the result of executing an IO value.

    An Exit[E, A] describes the result of executing an IO value. The result is either succeeded with a value A, or failed with a Cause[E].

  18. final case class ExitCode(code: Int) extends Product with Serializable

    Permalink
  19. sealed trait Fiber[+E, +A] extends AnyRef

    Permalink

    A fiber is a lightweight thread of execution that never consumes more than a whole thread (but may consume much less, depending on contention and asynchronicity).

    A fiber is a lightweight thread of execution that never consumes more than a whole thread (but may consume much less, depending on contention and asynchronicity). Fibers are spawned by forking ZIO effects, which run concurrently with the parent effect.

    Fibers can be joined, yielding their result to other fibers, or interrupted, which terminates the fiber, safely releasing all resources.

    def parallel[A, B](io1: Task[A], io2: Task[B]): Task[(A, B)] =
      for {
        fiber1 <- io1.fork
        fiber2 <- io2.fork
        a      <- fiber1.join
        b      <- fiber2.join
      } yield (a, b)
  20. final case class FiberFailure(cause: Cause[Any]) extends Throwable with Product with Serializable

    Permalink

    Represents a failure in a fiber.

    Represents a failure in a fiber. This could be caused by some non- recoverable error, such as a defect or system error, by some typed error, or by interruption (or combinations of all of the above).

    This class is used to wrap ZIO failures into something that can be thrown, to better integrate with Scala exception handling.

  21. final class FiberRef[A] extends Serializable

    Permalink

    Fiber's counterpart for Java's ThreadLocal.

    Fiber's counterpart for Java's ThreadLocal. Value is automatically propagated to child on fork and merged back in after joining child.

    for {
      fiberRef <- FiberRef.make("Hello world!")
      child <- fiberRef.set("Hi!).fork
      result <- child.join
    } yield result

    result will be equal to "Hi!" as changes done by child were merged on join.

    FiberRef#make also allows specifying how the values will be combined when joining. By default this will use the value of the joined fiber. for { fiberRef <- FiberRef.make(0, math.max) child <- fiberRef.update(_ + 1).fork _ <- fiberRef.update(_ + 2) _ <- child.join value <- fiberRef.get } yield value }}}

    value will be 2 as the value in the joined fiber is lower and we specified max as our combine function.

  22. final class Has[A] extends Serializable

    Permalink

    The trait Has[A] is used with ZIO environment to express an effect's dependency on a service of type A.

    The trait Has[A] is used with ZIO environment to express an effect's dependency on a service of type A. For example, RIO[Has[Console.Service], Unit] is an effect that requires a Console.Service service. Inside the ZIO library, type aliases are provided as shorthands for common services, e.g.:

    type Console = Has[ConsoleService]

    Services parameterized on path dependent types are not supported.

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

    Permalink
  24. sealed abstract class InterruptStatus extends Serializable with Product

    Permalink

    The InterruptStatus of a fiber determines whether or not it can be interrupted.

    The InterruptStatus of a fiber determines whether or not it can be interrupted. The status can change over time in different regions.

  25. type Layer[+E, +ROut] = ZLayer[Any, E, ROut]

    Permalink
  26. type LightTypeTag = izumi.reflect.macrortti.LightTypeTag

    Permalink
    Definition Classes
    VersionSpecific
  27. type Managed[+E, +A] = ZManaged[Any, E, A]

    Permalink
  28. trait ManagedApp extends BootstrapRuntime

    Permalink
  29. sealed trait NeedsEnv[+R] extends AnyRef

    Permalink

    A value of type NeedsEnv[R] provides implicit evidence that an effect with environment type R needs an environment, that is, that R is not equal to Any.

    A value of type NeedsEnv[R] provides implicit evidence that an effect with environment type R needs an environment, that is, that R is not equal to Any.

    Annotations
    @implicitNotFound( ... )
  30. final class NonEmptyChunk[+A] extends AnyRef

    Permalink

    A NonEmptyChunk is a Chunk that is guaranteed to contain at least one element.

    A NonEmptyChunk is a Chunk that is guaranteed to contain at least one element. As a result, operations which would not be safe when performed on Chunk, such as head or reduce, are safe when performed on NonEmptyChunk. Operations on NonEmptyChunk which could potentially return an empty chunk will return a Chunk instead.

  31. final class Promise[E, A] extends Serializable

    Permalink

    A promise represents an asynchronous variable, of zio.IO type, that can be set exactly once, with the ability for an arbitrary number of fibers to suspend (by calling await) and automatically resume when the variable is set.

    A promise represents an asynchronous variable, of zio.IO type, that can be set exactly once, with the ability for an arbitrary number of fibers to suspend (by calling await) and automatically resume when the variable is set.

    Promises can be used for building primitive actions whose completions require the coordinated action of multiple fibers, and for building higher-level concurrent or asynchronous structures.

    for {
      promise <- Promise.make[Nothing, Int]
      _       <- promise.succeed(42).delay(1.second).fork
      value   <- promise.await // Resumes when forked fiber completes promise
    } yield value
  32. type Queue[A] = ZQueue[Any, Any, Nothing, Nothing, A, A]

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

    Permalink
  34. type RLayer[-RIn, +ROut] = ZLayer[RIn, Throwable, ROut]

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

    Permalink
  36. type Ref[A] = ZRef[Nothing, Nothing, A, A]

    Permalink
  37. type RefM[A] = ZRefM[Any, Any, Nothing, Nothing, A, A]

    Permalink
  38. final case class Reservation[-R, +E, +A](acquire: ZIO[R, E, A], release: (Exit[Any, Any]) ⇒ URIO[R, Any]) extends Product with Serializable

    Permalink

    A Reservation[-R, +E, +A] encapsulates resource acquisition and disposal without specifying when or how that resource might be used.

    A Reservation[-R, +E, +A] encapsulates resource acquisition and disposal without specifying when or how that resource might be used.

    See ZManaged#reserve and ZIO#reserve for details of usage.

  39. trait Runtime[+R] extends AnyRef

    Permalink

    A Runtime[R] is capable of executing tasks within an environment R.

  40. trait Schedule[-R, -A, +B] extends Serializable

    Permalink

    Defines a stateful, possibly effectful, recurring schedule of actions.

    Defines a stateful, possibly effectful, recurring schedule of actions.

    A Schedule[R, A, B] consumes A values, and based on the inputs and the internal state, decides whether to continue or halt. Every decision is accompanied by a (possibly zero) delay, and an output value of type B.

    Schedules compose in each of the following ways:

    1. Intersection, using the && operator, which requires that both schedules continue, using the longer of the two durations. 2. Union, using the || operator, which requires that only one schedule continues, using the shorter of the two durations. 3. Sequence, using the <||> operator, which runs the first schedule until it ends, and then switches over to the second schedule.

    Schedule[R, A, B] forms a profunctor on [A, B], an applicative functor on B, and a monoid, allowing rich composition of different schedules.

  41. final class Semaphore extends Serializable

    Permalink

    An asynchronous semaphore, which is a generalization of a mutex.

    An asynchronous semaphore, which is a generalization of a mutex. Semaphores have a certain number of permits, which can be held and released concurrently by different parties. Attempts to acquire more permits than available result in the acquiring fiber being suspended until the specified number of permits become available.

  42. trait Supervisor[+A] extends AnyRef

    Permalink

    A Supervisor[A] is allowed to supervise the launching and termination of fibers, producing some visible value of type A from the supervision.

  43. type Tag[A] = izumi.reflect.Tag[A]

    Permalink
    Definition Classes
    VersionSpecific
  44. type TagK[F[_]] = HKTag[AnyRef { type Arg[A] = F[A] }]

    Permalink
    Definition Classes
    VersionSpecific
  45. type TagK10[F[_, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9] }]

    Permalink
    Definition Classes
    VersionSpecific
  46. type TagK11[F[_, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10] }]

    Permalink
    Definition Classes
    VersionSpecific
  47. type TagK12[F[_, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11] }]

    Permalink
    Definition Classes
    VersionSpecific
  48. type TagK13[F[_, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12] }]

    Permalink
    Definition Classes
    VersionSpecific
  49. type TagK14[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13] }]

    Permalink
    Definition Classes
    VersionSpecific
  50. type TagK15[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14] }]

    Permalink
    Definition Classes
    VersionSpecific
  51. type TagK16[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15] }]

    Permalink
    Definition Classes
    VersionSpecific
  52. type TagK17[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15,A16] }]

    Permalink
    Definition Classes
    VersionSpecific
  53. type TagK18[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15,A16,A17] }]

    Permalink
    Definition Classes
    VersionSpecific
  54. type TagK19[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15,A16,A17,A18] }]

    Permalink
    Definition Classes
    VersionSpecific
  55. type TagK20[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15,A16,A17,A18,A19] }]

    Permalink
    Definition Classes
    VersionSpecific
  56. type TagK21[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15,A16,A17,A18,A19,A20] }]

    Permalink
    Definition Classes
    VersionSpecific
  57. type TagK22[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15,A16,A17,A18,A19,A20,A21] }]

    Permalink
    Definition Classes
    VersionSpecific
  58. type TagK3[F[_, _, _]] = HKTag[AnyRef { type Arg[A, B, C] = F[A,B,C] }]

    Permalink
    Definition Classes
    VersionSpecific
  59. type TagK4[F[_, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3] = F[A0,A1,A2,A3] }]

    Permalink
    Definition Classes
    VersionSpecific
  60. type TagK5[F[_, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4] = F[A0,A1,A2,A3,A4] }]

    Permalink
    Definition Classes
    VersionSpecific
  61. type TagK6[F[_, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5] = F[A0,A1,A2,A3,A4,A5] }]

    Permalink
    Definition Classes
    VersionSpecific
  62. type TagK7[F[_, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6] = F[A0,A1,A2,A3,A4,A5,A6] }]

    Permalink
    Definition Classes
    VersionSpecific
  63. type TagK8[F[_, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7] = F[A0,A1,A2,A3,A4,A5,A6,A7] }]

    Permalink
    Definition Classes
    VersionSpecific
  64. type TagK9[F[_, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8] }]

    Permalink
    Definition Classes
    VersionSpecific
  65. type TagKK[F[_, _]] = HKTag[AnyRef { type Arg[A, B] = F[A,B] }]

    Permalink
    Definition Classes
    VersionSpecific
  66. type Task[+A] = ZIO[Any, Throwable, A]

    Permalink
  67. type TaskLayer[+ROut] = ZLayer[Any, Throwable, ROut]

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

    Permalink
  69. sealed abstract class TracingStatus extends Serializable with Product

    Permalink

    Whether ZIO Tracing is enabled for the current fiber in the current region.

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

    Permalink
  71. type ULayer[+ROut] = ZLayer[Any, Nothing, ROut]

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

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

    Permalink
  74. type URLayer[-RIn, +ROut] = ZLayer[RIn, Nothing, ROut]

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

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

    Permalink
    Definition Classes
    PlatformSpecific
  77. sealed trait ZIO[-R, +E, +A] extends Serializable with ZIOPlatformSpecific[R, E, A]

    Permalink

    A ZIO[R, E, A] value is an immutable value that lazily describes a workflow or job.

    A ZIO[R, E, A] value is an immutable value that lazily describes a workflow or job. The workflow requires some environment R, and may fail with an error of type E, or succeed with a value of type A.

    These lazy workflows, referred to as _effects_, can be informally thought of as functions in the form:

    R => Either[E, A]

    ZIO effects model resourceful interaction with the outside world, including synchronous, asynchronous, concurrent, and parallel interaction.

    ZIO effects use a fiber-based concurrency model, with built-in support for scheduling, fine-grained interruption, structured concurrency, and high scalability.

    To run an effect, you need a Runtime, which is capable of executing effects. Runtimes bundle a thread pool together with the environment that effects need.

  78. sealed trait ZLayer[-RIn, +E, +ROut] extends AnyRef

    Permalink

    A ZLayer[A, E, B] describes a layer of an application: every layer in an application requires some services (the input) and produces some services (the output).

    A ZLayer[A, E, B] describes a layer of an application: every layer in an application requires some services (the input) and produces some services (the output).

    Layers can be thought of as recipes for producing bundles of services, given their dependencies (other services).

    Construction of layers can be effectful and utilize resources that must be acquired and safely released when the services are done being utilized.

    By default layers are shared, meaning that if the same layer is used twice the layer will only be allocated a single time.

    Because of their excellent composition properties, layers are the idiomatic way in ZIO to create services that depend on other services.

  79. final class ZManaged[-R, +E, +A] extends Serializable

    Permalink

    A ZManaged[R, E, A] is a managed resource of type A, which may be used by invoking the use method of the resource.

    A ZManaged[R, E, A] is a managed resource of type A, which may be used by invoking the use method of the resource. The resource will be automatically acquired before the resource is used, and automatically released after the resource is used.

    Resources do not survive the scope of use, meaning that if you attempt to capture the resource, leak it from use, and then use it after the resource has been consumed, the resource will not be valid anymore and may fail with some checked error, as per the type of the functions provided by the resource.

  80. trait ZQueue[-RA, -RB, +EA, +EB, -A, +B] extends Serializable

    Permalink

    A ZQueue[RA, RB, EA, EB, A, B] is a lightweight, asynchronous queue into which values of type A can be enqueued and of which elements of type B can be dequeued.

    A ZQueue[RA, RB, EA, EB, A, B] is a lightweight, asynchronous queue into which values of type A can be enqueued and of which elements of type B can be dequeued. The queue's enqueueing operations may utilize an environment of type RA and may fail with errors of type EA. The dequeueing operations may utilize an environment of type RB and may fail with errors of type EB.

  81. sealed trait ZRef[+EA, +EB, -A, +B] extends Serializable

    Permalink

    A ZRef[EA, EB, A, B] is a polymorphic, purely functional description of a mutable reference.

    A ZRef[EA, EB, A, B] is a polymorphic, purely functional description of a mutable reference. The fundamental operations of a ZRef are set and get. set takes a value of type A and sets the reference to a new value, potentially failing with an error of type EA. get gets the current value of the reference and returns a value of type B, potentially failing with an error of type EB.

    When the error and value types of the ZRef are unified, that is, it is a ZRef[E, E, A, A], the ZRef also supports atomic modify and update operations. All operations are guaranteed to be safe for concurrent access.

    NOTE: While ZRef provides the functional equivalent of a mutable reference, the value inside the ZRef should be immutable. For performance reasons ZRef is implemented in terms of compare and swap operations rather than synchronization. These operations are not safe for mutable values that do not support concurrent access.

  82. sealed trait ZRefM[-RA, -RB, +EA, +EB, -A, +B] extends AnyRef

    Permalink

    A ZRefM[RA, RB, EA, EB, A, B] is a polymorphic, purely functional description of a mutable reference.

    A ZRefM[RA, RB, EA, EB, A, B] is a polymorphic, purely functional description of a mutable reference. The fundamental operations of a ZRefM are set and get. set takes a value of type A and sets the reference to a new value, requiring an environment of type RA and potentially failing with an error of type EA. get gets the current value of the reference and returns a value of type B, requiring an environment of type RB and potentially failing with an error of type EB.

    When the error and value types of the ZRefM are unified, that is, it is a ZRefM[E, E, A, A], the ZRefM also supports atomic modify and update operations.

    Unlike ZRef, ZRefM allows performing effects within update operations, at some cost to performance. Writes will semantically block other writers, while multiple readers can read simultaneously.

  83. sealed trait ZScope[+A] extends AnyRef

    Permalink

    A ZScope[A] is a value that allows adding finalizers identified by a key.

    A ZScope[A] is a value that allows adding finalizers identified by a key. Scopes are closed with a value of type A, which is provided to all the finalizers when the scope is released.

    For safety reasons, this interface has no method to close a scope. Rather, an open scope may be required with ZScope.make, which returns a function that can close a scope. This allows scopes to be safely passed around without fear they will be accidentally closed.

  84. final case class ZTrace(fiberId: Id, executionTrace: List[ZTraceElement], stackTrace: List[ZTraceElement], parentTrace: Option[ZTrace]) extends Product with Serializable

    Permalink
  85. type Tagged[A] = izumi.reflect.Tag[A]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use Tag

  86. type TaggedF[F[_]] = HKTag[AnyRef { type Arg[A] = F[A] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK

  87. type TaggedF10[F[_, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK10

  88. type TaggedF11[F[_, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK11

  89. type TaggedF12[F[_, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK12

  90. type TaggedF13[F[_, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK13

  91. type TaggedF14[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK14

  92. type TaggedF15[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK15

  93. type TaggedF16[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK16

  94. type TaggedF17[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15,A16] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK17

  95. type TaggedF18[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15,A16,A17] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK18

  96. type TaggedF19[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15,A16,A17,A18] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK19

  97. type TaggedF2[F[_, _]] = HKTag[AnyRef { type Arg[A, B] = F[A,B] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagKK

  98. type TaggedF20[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15,A16,A17,A18,A19] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK20

  99. type TaggedF21[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15,A16,A17,A18,A19,A20] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK21

  100. type TaggedF22[F[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15,A16,A17,A18,A19,A20,A21] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK22

  101. type TaggedF3[F[_, _, _]] = HKTag[AnyRef { type Arg[A, B, C] = F[A,B,C] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK3

  102. type TaggedF4[F[_, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3] = F[A0,A1,A2,A3] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK4

  103. type TaggedF5[F[_, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4] = F[A0,A1,A2,A3,A4] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK5

  104. type TaggedF6[F[_, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5] = F[A0,A1,A2,A3,A4,A5] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK6

  105. type TaggedF7[F[_, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6] = F[A0,A1,A2,A3,A4,A5,A6] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK7

  106. type TaggedF8[F[_, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7] = F[A0,A1,A2,A3,A4,A5,A6,A7] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK8

  107. type TaggedF9[F[_, _, _, _, _, _, _, _, _]] = HKTag[AnyRef { type Arg[A0, A1, A2, A3, A4, A5, A6, A7, A8] = F[A0,A1,A2,A3,A4,A5,A6,A7,A8] }]

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use TagK9

  108. type TypeTag = izumi.reflect.macrortti.LightTypeTag

    Permalink
    Definition Classes
    VersionSpecific
    Annotations
    @deprecated
    Deprecated

    (Since version 1.0.0) use LightTypeTag

Value Members

  1. object <*>

    Permalink
  2. object =!= extends Serializable

    Permalink
  3. object BuildInfo extends Product with Serializable

    Permalink

    This object was generated by sbt-buildinfo.

  4. object CanFail extends CanFail[Any]

    Permalink
  5. object Cause extends Serializable

    Permalink
  6. object Chunk extends IndexedSeqFactory[Chunk] with ChunkFactory

    Permalink
  7. object ChunkBuilder

    Permalink
  8. object ChunkCanBuildFrom

    Permalink
  9. object ChunkLike

    Permalink
  10. object ExecutionStrategy

    Permalink
  11. object Exit extends Serializable

    Permalink
  12. object ExitCode extends Serializable

    Permalink
  13. object Fiber extends FiberPlatformSpecific

    Permalink
  14. object FiberRef extends Serializable

    Permalink
  15. object Has extends Serializable

    Permalink
  16. object IO

    Permalink
  17. object InterruptStatus extends Serializable

    Permalink
  18. val Managed: ZManaged.type

    Permalink
  19. object NeedsEnv extends NeedsEnv[Nothing]

    Permalink
  20. object NonEmptyChunk

    Permalink
  21. object Promise extends Serializable

    Permalink
  22. object Queue

    Permalink
  23. object RIO

    Permalink
  24. object Ref extends Serializable

    Permalink
  25. object RefM

    Permalink
  26. object Runtime

    Permalink
  27. object Schedule extends Serializable

    Permalink
  28. object Semaphore extends Serializable

    Permalink
  29. object Supervisor

    Permalink
  30. lazy val Tag: izumi.reflect.Tag.type

    Permalink
    Definition Classes
    VersionSpecific
  31. lazy val TagK: izumi.reflect.TagK.type

    Permalink
    Definition Classes
    VersionSpecific
  32. lazy val TagK3: izumi.reflect.TagK3.type

    Permalink
    Definition Classes
    VersionSpecific
  33. lazy val TagKK: izumi.reflect.TagKK.type

    Permalink
    Definition Classes
    VersionSpecific
  34. object Task extends TaskPlatformSpecific

    Permalink
  35. object TracingStatus extends Serializable

    Permalink
  36. object UIO

    Permalink
  37. object URIO

    Permalink
  38. object ZEnv extends Serializable

    Permalink
    Definition Classes
    PlatformSpecific
  39. object ZIO extends ZIOCompanionPlatformSpecific with Serializable

    Permalink
  40. object ZLayer

    Permalink
  41. object ZManaged extends Serializable

    Permalink
  42. object ZQueue extends Serializable

    Permalink
  43. object ZRef extends Serializable

    Permalink
  44. object ZRefM

    Permalink
  45. object ZScope

    Permalink
  46. object ZTrace extends Serializable

    Permalink
  47. package blocking

    Permalink
  48. package clock

    Permalink
  49. package console

    Permalink
  50. package duration

    Permalink
  51. package internal

    Permalink
  52. package random

    Permalink
  53. package stm

    Permalink
  54. package system

    Permalink

Inherited from VersionSpecific

Inherited from PlatformSpecific

Inherited from EitherCompat

Inherited from AnyRef

Inherited from Any

Ungrouped