UnsafeRun2

izumi.functional.bio.UnsafeRun2
See theUnsafeRun2 companion trait
object UnsafeRun2

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
UnsafeRun2.type

Members list

Type members

Classlikes

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait FailureHandler

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Custom
object Default
final class NamedThreadFactory(name: String, daemon: Boolean, priority: Option[Int]) extends ThreadFactory

Attributes

Supertypes
trait ThreadFactory
class Object
trait Matchable
class Any
class ZIORunner[R](val runtimeConfiguration: ZLayer[Any, Nothing, Any], val initialEnv: ZEnvironment[R]) extends UnsafeRun2[[_, _] =>> ZIO[R, _$7, _$8]]

Attributes

Companion
object
Supertypes
trait UnsafeRun2[[_, _] =>> ZIO[R, _$7, _$8]]
class Object
trait Matchable
class Any
object ZIORunner

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ZIORunner.type

Value members

Concrete methods

def apply[F[_, _] : UnsafeRun2]: UnsafeRun2[F]
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