bind Factory
abstract fun bindFactory(tag: Any? = null, overrides: Boolean? = null, creator: BindingDI<Any>.(A) -> T)
Binds a factory to both the set and the DI container.
Parameters
tag
The tag to bind in the DI container.
overrides
Whether this bind must or must not override an existing binding.
creator
The function that creates a new instance each time with an argument.