object Functoid extends SimpleFunctoids[Functoid] with SimpleFunctoidSyntax[Functoid] with SimpleDistageFunctoids with FunctoidLifecycleAdapters with FunctoidMacroMethods with FunctoidConstructors with Serializable
- Alphabetic
- By Inheritance
- Functoid
- Serializable
- FunctoidConstructors
- FunctoidMacroMethods
- FunctoidLifecycleAdapters
- SimpleDistageFunctoids
- SimpleFunctoidSyntax
- SimpleFunctoids
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit macro def apply[R](fun: Function22[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function21[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function20[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function19[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function18[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function17[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function16[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function15[_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function14[_, _, _, _, _, _, _, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function13[_, _, _, _, _, _, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function12[_, _, _, _, _, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function11[_, _, _, _, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function10[_, _, _, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function9[_, _, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function8[_, _, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function7[_, _, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function6[_, _, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function5[_, _, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function4[_, _, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function3[_, _, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function2[_, _, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: Function1[_, R]): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- implicit macro def apply[R](fun: () => R): Functoid[R]
- Definition Classes
- FunctoidMacroMethods
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def create[A](provider: Provider): Functoid[A]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def identity[A](implicit arg0: Tag[A]): Functoid[A]
- Definition Classes
- SimpleFunctoids
- def identityKey[A](key: DIKey): Functoid[A]
- Definition Classes
- SimpleFunctoids
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lift[A](a: => A)(implicit arg0: Tag[A]): Functoid[A]
- Definition Classes
- SimpleFunctoids
- def makeClass[A](implicit arg0: ClassConstructor[A]): Functoid[A]
Derive constructor for a concrete class
A
using ClassConstructorDerive constructor for a concrete class
A
using ClassConstructor- Definition Classes
- FunctoidConstructors
- def makeFactory[A](implicit arg0: FactoryConstructor[A]): Functoid[A]
Derive constructor for a "factory-like" abstract class or a trait
A
using FactoryConstructorDerive constructor for a "factory-like" abstract class or a trait
A
using FactoryConstructor- Definition Classes
- FunctoidConstructors
- See also
- def makeHas[A](implicit arg0: ZEnvConstructor[A]): Functoid[ZEnvironment[A]]
Derive constructor for a
zio.ZEnvironment
valueA
using ZEnvConstructorDerive constructor for a
zio.ZEnvironment
valueA
using ZEnvConstructor- Definition Classes
- FunctoidConstructors
- See also
- def makeTrait[A](implicit arg0: TraitConstructor[A]): Functoid[A]
Derive constructor for an abstract class or a trait
A
using TraitConstructorDerive constructor for an abstract class or a trait
A
using TraitConstructor- Definition Classes
- FunctoidConstructors
- See also
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit final def providerFromCats[F[_], A](resource: => Resource[F, A])(implicit arg0: TagK[F], tag: Tag[FromCats[F, A]]): Functoid[FromCats[F, A]]
Allows you to bind cats.effect.Resource-based constructors in
ModuleDef
:Allows you to bind cats.effect.Resource-based constructors in
ModuleDef
:Example:
import cats.effect._ val catsResource = Resource.liftF(IO(5)) val module = new distage.ModuleDef { make[Int].fromResource(catsResource) }
- Definition Classes
- FunctoidLifecycleAdapters
- Note
binding a cats Resource[F, A] will add a dependency on
Sync[F]
for your correspondingF
type (Sync[F]
instance will generally be provided automatically via izumi.distage.modules.DefaultModule)
- implicit final def providerFromZIOScoped[R, E, A](scoped: => ZIO[Scope with R, E, A])(implicit tag: Tag[FromZIO[R, E, A]]): Functoid[FromZIO[R, E, A]]
Allows you to bind Scoped zio.ZIO-based constructors in
ModuleDef
:Allows you to bind Scoped zio.ZIO-based constructors in
ModuleDef
:- Definition Classes
- FunctoidLifecycleAdapters
- implicit final def providerFromZIOScopedNothing[R, A](scoped: => ZIO[Scope with R, Nothing, A])(implicit tag: Tag[FromZIO[R, Nothing, A]]): Functoid[FromZIO[R, Nothing, A]]
Allows you to bind Scoped zio.ZIO-based constructors in
ModuleDef
:Allows you to bind Scoped zio.ZIO-based constructors in
ModuleDef
:- Definition Classes
- FunctoidLifecycleAdapters
- implicit final def providerFromZLayer[R, E, A](layer: => ZLayer[R, E, A])(implicit arg0: Tag[A], tag: Tag[FromZIO[R, E, A]]): Functoid[FromZIO[R, E, A]]
Allows you to bind zio.ZLayer-based constructors in
ModuleDef
:Allows you to bind zio.ZLayer-based constructors in
ModuleDef
:- Definition Classes
- FunctoidLifecycleAdapters
- implicit final def providerFromZLayerNothing[R, A](layer: => ZLayer[R, Nothing, A])(implicit arg0: Tag[A], tag: Tag[FromZIO[R, Nothing, A]]): Functoid[FromZIO[R, Nothing, A]]
Allows you to bind zio.ZLayer-based constructors in
ModuleDef
:Allows you to bind zio.ZLayer-based constructors in
ModuleDef
:- Definition Classes
- FunctoidLifecycleAdapters
- implicit final def providerFromZManaged[R, E, A](managed: => ZManaged[R, E, A])(implicit tag: Tag[FromZIO[R, E, A]]): Functoid[FromZIO[R, E, A]]
Allows you to bind zio.managed.ZManaged-based constructors in
ModuleDef
:Allows you to bind zio.managed.ZManaged-based constructors in
ModuleDef
:- Definition Classes
- FunctoidLifecycleAdapters
- implicit final def providerFromZManagedNothing[R, A](managed: => ZManaged[R, Nothing, A])(implicit tag: Tag[FromZIO[R, Nothing, A]]): Functoid[FromZIO[R, Nothing, A]]
Allows you to bind zio.managed.ZManaged-based constructors in
ModuleDef
:Allows you to bind zio.managed.ZManaged-based constructors in
ModuleDef
:- Definition Classes
- FunctoidLifecycleAdapters
- def pure[A](a: A)(implicit arg0: Tag[A]): Functoid[A]
- Definition Classes
- SimpleFunctoids
- def single[A, B](f: (A) => B)(implicit arg0: Tag[A], arg1: Tag[B]): Functoid[B]
- Definition Classes
- SimpleFunctoids
- def singleton[A <: Singleton](a: A)(implicit arg0: Tag[A]): Functoid[A]
- Definition Classes
- SimpleFunctoids
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit final def syntaxMapSame[A](functoid: Functoid[A]): SyntaxMapSame[A, Functoid]
- Definition Classes
- SimpleFunctoidSyntax
- def toString(): String
- Definition Classes
- AnyRef → Any
- def todoProvider(key: DIKey)(implicit pos: CodePositionMaterializer): Functoid[Nothing]
- Definition Classes
- SimpleDistageFunctoids
- def unit: Functoid[Unit]
- Definition Classes
- SimpleFunctoids
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def makeAny[A](implicit arg0: ClassConstructor[A]): Functoid[A]
- Definition Classes
- FunctoidConstructors
- Annotations
- @deprecated
- Deprecated
Same as
makeClass
, usemakeClass