izumi.functional.bio.UnsafeRun2
See theUnsafeRun2 companion trait
object UnsafeRun2
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
UnsafeRun2.type
Members list
Type members
Classlikes
object FailureHandler
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
FailureHandler.type
final class NamedThreadFactory(name: String, daemon: Boolean, priority: Option[Int]) extends ThreadFactory
Attributes
- Supertypes
-
trait ThreadFactoryclass Objecttrait Matchableclass Any
class ZIORunner[R](val runtimeConfiguration: ZLayer[Any, Nothing, Any], val initialEnv: ZEnvironment[R]) extends UnsafeRun2[[_, _] =>> ZIO[R, _$7, _$8]]
Attributes
- Companion
- object
- Supertypes
Value members
Concrete methods
def createZIO[R](customCpuPool: Option[Executor] = ..., customBlockingPool: Option[Executor] = ..., handler: FailureHandler = ..., otherRuntimeConfiguration: List[ZLayer[Any, Nothing, Any]] = ..., initialEnv: ZEnvironment[R] = ...): ZIORunner[R]
Value parameters
- customBlockingPool
-
will replace zio.internal.Blocking.blockingExecutor if set
- customCpuPool
-
will replace zio.internal.ZScheduler if set
- handler
-
will add a Supervisor for fiber failure exits if not Default
- initialEnv
-
initial environment
- otherRuntimeConfiguration
-
zio.Runtime.* layers can be used to set other configuration options for zio.Runtime
Attributes
In this article