DefaultModule

izumi.distage.modules.DefaultModule
See theDefaultModule companion object
final case class DefaultModule[F[_]](module: Module) extends AnyVal

Implicitly available effect type support for distage resources, effects, roles & tests.

Automatically provides default runtime environments & typeclasses instances for effect types. All the defaults are overrideable via izumi.distage.model.definition.ModuleDef

  • Adds izumi.functional.quasi.QuasiIO instances to support using effects in Injector, distage-framework & distage-testkit-scalatest
  • Adds cats-effect typeclass instances for effect types that have cats-effect instances
  • Adds izumi.functional.bio typeclass instances for bifunctor effect types

Currently provides instances for

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def to[G[_]]: DefaultModule[G]

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product