Packages

class ZIOSupportModule[R] extends ZIOPlatformDependentSupportModule[R]

zio.ZIO effect type support for distage resources, effects, roles & tests

  • Adds izumi.functional.quasi.QuasiIO instances to support using ZIO in Injector, distage-framework & distage-testkit-scalatest
  • Adds izumi.functional.bio typeclass instances for ZIO

Will also add the following components:

  • ThreadPoolExecutor @Id("cpu") for CPU-bound tasks (will be used for all tasks by default by zio.Runtime)
  • ThreadPoolExecutor @Id("io") and blocking IO tasks (tasks can be scheduled to it via izumi.functional.bio.BlockingIO or zio.blocking.blocking)
  • ExecutionContext @Id("cpu") & ExecutionContext @Id("io") respectively
  • zio.internal.tracing.TracingConfig will be set to zio.internal.tracing.TracingConfig.enabled by default
  • Standard ZIO services: zio.console.Console, zio.clock.Clock, zio.system.System, zio.random.Random and corresponding .Service types

Added into scope by izumi.distage.modules.DefaultModule. If interop-cats library is on the classpath during compilation, implicit izumi.distage.modules.DefaultModule.forZIOPlusCats will be picked up instead of izumi.distage.modules.DefaultModule.forZIO and will add a module with cats-effect instances izumi.distage.modules.typeclass.ZIOCatsEffectInstancesModule

Bindings to the same keys in your own izumi.distage.model.definition.ModuleDef or plugins will override these defaults.

Linear Supertypes
ZIOPlatformDependentSupportModule[R], ModuleDef, ModuleDefDSL, TagsDSL, IncludesDSL, AbstractBindingDefDSL[MakeDSL, MakeDSLUnnamedAfterFrom, SetDSL], AbstractBindingDefDSLMacro[MakeDSL], Module, ModuleBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZIOSupportModule
  2. ZIOPlatformDependentSupportModule
  3. ModuleDef
  4. ModuleDefDSL
  5. TagsDSL
  6. IncludesDSL
  7. AbstractBindingDefDSL
  8. AbstractBindingDefDSLMacro
  9. Module
  10. ModuleBase
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ZIOSupportModule()(implicit arg0: Tag[R])

Type Members

  1. final class MutationContext extends AnyRef
    Definition Classes
    AbstractBindingDefDSL

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def _initialIncludes: ArrayBuffer[Include]
    Attributes
    protected[this]
    Definition Classes
    IncludesDSL
  5. def _initialState: ArrayBuffer[BindingRef]
    Attributes
    protected[this]
    Definition Classes
    AbstractBindingDefDSL
  6. def _initialTaggedIncludes: ArrayBuffer[IncludeApplyTags]
    Attributes
    protected[this]
    Definition Classes
    IncludesDSL
  7. def _initialTags: Set[BindingTag]
    Attributes
    protected[this]
    Definition Classes
    TagsDSL
  8. final def _make[T](provider: Functoid[T])(implicit arg0: Tag[T], pos: CodePositionMaterializer): MakeDSL[T]
    Attributes
    protected[this]
    Definition Classes
    AbstractBindingDefDSL
  9. def _registered[T <: BindingRef](bindingRef: T): T
    Attributes
    protected[this]
    Definition Classes
    AbstractBindingDefDSL
  10. final def addImplicit[T](implicit arg0: Tag[T], instance: T, pos: CodePositionMaterializer): MakeDSLUnnamedAfterFrom[T]
    Attributes
    protected[this]
    Definition Classes
    AbstractBindingDefDSL
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. final def bindings: Set[Binding]
    Definition Classes
    ModuleDefDSL
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def equals(obj: Any): Boolean
    Definition Classes
    ModuleBase → AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final lazy val hashCode: Int
    Definition Classes
    ModuleBase → AnyRef → Any
  19. final def include(that: ModuleBase): Unit
    Attributes
    protected[this]
    Definition Classes
    IncludesDSL
  20. final def includeApplyTags(that: ModuleBase): Unit
    Attributes
    protected[this]
    Definition Classes
    IncludesDSL
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def iterator: Iterator[Binding]
    Definition Classes
    ModuleDefDSL
  23. final def keys: Set[DIKey]
    Definition Classes
    ModuleBase
  24. final def keysIterator: Iterator[DIKey]
    Definition Classes
    ModuleDefDSL
  25. final macro def make[T]: MakeDSL[T]
    Attributes
    protected[this]
    Definition Classes
    AbstractBindingDefDSLMacro
  26. final def makeFactory[T](implicit arg0: Tag[T], arg1: FactoryConstructor[T]): MakeDSLUnnamedAfterFrom[T]
    Attributes
    protected[this]
    Definition Classes
    AbstractBindingDefDSL
  27. final def many[T](implicit tag: Tag[Set[T]], pos: CodePositionMaterializer): SetDSL[T]
    Attributes
    protected[this]
    Definition Classes
    AbstractBindingDefDSL
  28. final def modify[T]: ModifyDSL[T, MakeDSL, MakeDSLUnnamedAfterFrom, SetDSL]
    Attributes
    protected[this]
    Definition Classes
    AbstractBindingDefDSL
  29. implicit final lazy val mutationContext: MutationContext
    Attributes
    protected[this]
    Definition Classes
    AbstractBindingDefDSL
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. final def tag(tags: BindingTag*): Unit
    Attributes
    protected[this]
    Definition Classes
    TagsDSL
  35. final def toString(): String
    Definition Classes
    ModuleBase → AnyRef → Any
  36. final def todo[T](implicit arg0: Tag[T], pos: CodePositionMaterializer): MakeDSLUnnamedAfterFrom[T]
    Attributes
    protected[this]
    Definition Classes
    AbstractBindingDefDSL
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ZIOPlatformDependentSupportModule[R]

Inherited from ModuleDef

Inherited from ModuleDefDSL

Inherited from TagsDSL

Inherited from IncludesDSL

Inherited from AbstractBindingDefDSL[MakeDSL, MakeDSLUnnamedAfterFrom, SetDSL]

Inherited from AbstractBindingDefDSLMacro[MakeDSL]

Inherited from Module

Inherited from ModuleBase

Inherited from AnyRef

Inherited from Any

Ungrouped