object UnsafeRun2
- Alphabetic
- By Inheritance
- UnsafeRun2
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait FailureHandler extends AnyRef
- final case class InterruptAction[F[_, _]](interrupt: F[Nothing, Unit]) extends AnyVal with Product with Serializable
- interrupt
May semantically block until the target computation either finishes completely or finishes running its finalizers, depending on the underlying effect type.
- final class NamedThreadFactory extends ThreadFactory
- class ZIORunner[R] extends UnsafeRun2[[+β$0$, +γ$1$]ZIO[R, β$0$, γ$1$]]
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[F[_, _]](implicit arg0: UnsafeRun2[F]): UnsafeRun2[F]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createZIO[R](customCpuPool: Option[Executor] = None, customBlockingPool: Option[Executor] = None, handler: FailureHandler = FailureHandler.Default, otherRuntimeConfiguration: List[ZLayer[Any, Nothing, Any]] = List.empty, initialEnv: ZEnvironment[R] = ZEnvironment.empty): ZIORunner[R]
- customCpuPool
will replace zio.internal.ZScheduler if set
- customBlockingPool
will replace zio.internal.Blocking.blockingExecutor if set
- handler
will add a Supervisor for fiber failure exits if not Default
- otherRuntimeConfiguration
zio.Runtime.* layers can be used to set other configuration options for zio.Runtime
- initialEnv
initial environment
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object FailureHandler
- object ZIORunner