zio.internal

package zio.internal

Type members

Classlikes

abstract class ExecutionMetrics
abstract class Executor extends ExecutorPlatformSpecific

An executor is responsible for executing actions. Each action is guaranteed to begin execution on a fresh stack frame.

An executor is responsible for executing actions. Each action is guaranteed to begin execution on a fresh stack frame.

Companion:
object
object Executor extends Serializable
Companion:
class
abstract class Hub[A] extends Serializable

A Hub[A] is a concurrent data structure that allows multiple publishers to publish A values and multiple subscribers to poll A values with the guarantee that all subscribers will receive all values published to the hub while they are subscribed.

A Hub[A] is a concurrent data structure that allows multiple publishers to publish A values and multiple subscribers to poll A values with the guarantee that all subscribers will receive all values published to the hub while they are subscribed.

Companion:
object
object Hub
Companion:
class
object OneShot
abstract class Platform

A Platform provides the minimum capabilities necessary to bootstrap execution of ZIO tasks.

A Platform provides the minimum capabilities necessary to bootstrap execution of ZIO tasks.

Companion:
object
object Platform
Companion:
class
object RingBuffer
Companion:
class
abstract class RingBuffer[A](val capacity: Int)

See zio.internal.RingBuffer for details on design, tradeoffs, etc.

See zio.internal.RingBuffer for details on design, tradeoffs, etc.

Companion:
object
final class RingBufferArb[A] extends RingBuffer[A]
Companion:
object
Companion:
class
final class RingBufferPow2[A](val requestedCapacity: Int) extends RingBuffer[A]
Companion:
object
Companion:
class
final case class Tracing(tracer: Tracer, tracingConfig: TracingConfig)
Companion:
object
object Tracing
Companion:
class
final class UniqueKey

This can be used whenever an arbitrary number of unique keys needs to be generated as this will just use memory location for equality.

This can be used whenever an arbitrary number of unique keys needs to be generated as this will just use memory location for equality.

Companion:
object
object UniqueKey
Companion:
class

Value members

Concrete methods

def ZIOSucceedNow[A](a: A): UIO[A]

Returns an effect that models success with the specified value.

Returns an effect that models success with the specified value.

def ZManagedSucceedNow[A](r: A): ZManaged[Any, Nothing, A]

Lifts an eager, pure value into a Managed.

Lifts an eager, pure value into a Managed.

def ZSTMSucceedNow[A](a: A): ZSTM[Any, Nothing, A]

Returns an STM effect that succeeds with the specified value.

Returns an STM effect that succeeds with the specified value.