package internal
- Alphabetic
- By Inheritance
- internal
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait ExecutionMetrics extends AnyRef
-
trait
Executor extends ExecutorPlatformSpecific
An executor is responsible for executing actions.
An executor is responsible for executing actions. Each action is guaranteed to begin execution on a fresh stack frame.
- trait ExecutorPlatformSpecific extends AnyRef
-
abstract
class
MutableConcurrentQueue[A] extends AnyRef
A MutableConcurrentQueue interface to use under the hood in ZIO.
A MutableConcurrentQueue interface to use under the hood in ZIO.
The implementation at minimum: 1. Should be non-blocking and ideally lock-free. 2. Should provide basic metrics such as how many elements were enqueued/dequeued.
- Attributes
- protected[zio]
- Note
this is declared as
abstract class
sinceinvokevirtual
is slightly cheaper thaninvokeinterface
.
-
trait
Platform extends AnyRef
A
Platform
provides the minimum capabilities necessary to bootstrap execution ofZIO
tasks. - final case class Tracing(tracer: Tracer, tracingConfig: TracingConfig) extends Product with Serializable
-
final
class
UniqueKey extends AnyRef
This can be used whenever an arbitrary number of unique keys needs to be generated as this will just use memory location for equality.
Value Members
-
def
ZIOSucceedNow[A](a: A): ZIO[Any, Nothing, A]
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.
-
def
ZSTMSucceedNow[A](a: A): ZSTM[Any, Nothing, A]
Returns an
STM
effect that succeeds with the specified value. - object Executor extends DefaultExecutors with Serializable
- object MutableConcurrentQueue
- object OneShot
- object Platform extends PlatformSpecific
- object SingleThreadedRingBuffer
- object Tracing extends Serializable
- object UniqueKey