izumi.distage.modules.support

Members list

Type members

Classlikes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
trait
Supertypes
Self type

cats.effect.IO effect type support for distage resources, effects, roles & tests

cats.effect.IO effect type support for distage resources, effects, roles & tests

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

Added into scope by izumi.distage.modules.DefaultModule.

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

Attributes

Companion
object
Supertypes
Known subtypes

Identity effect type (aka no effect type / imperative Scala) support for distage resources, effects, roles & tests

Identity effect type (aka no effect type / imperative Scala) support for distage resources, effects, roles & tests

Adds izumi.functional.quasi.QuasiIO instances to support running without an effect type in Injector, distage-framework & distage-testkit-scalatest

Attributes

Companion
object
Supertypes
Known subtypes

Attributes

Companion
trait
Supertypes
Self type
class ZIOSupportModule[R]

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

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

Will also add the following components:

  • ExecutionContext @Id("cpu") for CPU-bound tasks (will be used for all tasks by default by zio.Runtime)
  • ExecutionContext @Id("io") for blocking IO tasks (tasks can be scheduled to it via izumi.functional.bio.BlockingIO2 or zio.ZIO.blocking)

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.

Attributes

Companion
object
Supertypes

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
object unsafe

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
unsafe.type