AnyCatsEffectSupportModule

izumi.distage.modules.support.AnyCatsEffectSupportModule

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def usingAsyncParallel[F[_] : TagK]: ModuleDef

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

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

For all F[_] with available make[Async[F]], make[Parallel[F]] and make[Dispatcher[F]] bindings.

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

Depends on make[Async[F]], make[Parallel[F]], make[Dispatcher[F]].

Attributes

def withImplicits[F[_] : TagK : Async : Parallel : Dispatcher]: ModuleDef

Make AnyCatsEffectSupportModule.usingAsyncParallelDispatcher, binding the required dependencies in place to values from implicit scope

Make AnyCatsEffectSupportModule.usingAsyncParallelDispatcher, binding the required dependencies in place to values from implicit scope

Attributes

Deprecated methods

def apply[F[_] : TagK]: ModuleDef

Attributes

Deprecated
[Since version 1.3] renamed to usingDependencies