Multiton
class Multiton<C : Any, A, T : Any>(val scope: Scope<C>, val contextType: TypeToken<in C>, explicitContext: Boolean, val argType: TypeToken<in A>, val createdType: TypeToken<out T>, refMaker: RefMaker? = null, val sync: Boolean = true, creator: BindingDI<C>.(A) -> T) : DIBinding<C, A, T>
Concrete multiton: will create one and only one instance for each argument. Will create the instance on first time a given argument is used and will subsequently always return the same instance for the same argument.
Parameters
T
The created type.
Constructors
Functions
Link copied to clipboard
The full(er) name of this factory, used for debug print only.
Link copied to clipboard
The name of this factory, used for debug print only.
Link copied to clipboard