MutableEnvironment
class MutableEnvironment(metaEnvironment: UnsafeMutableEnvironment.MutableEnvironment?, baseContext: EnvironmentContext) : InjectionEnvironment, ContextBuilderDsl
Content copied to clipboard
A simple, mutable environment that can also dispatch requests for a meta-environment to the one passed as a constructor parameter.
You should not use this class directly. Consider instead using UnsafeMutableEnvironment, which manages two instances of MutableEnvironment
internally.
Constructors
Link copied to clipboard
fun MutableEnvironment(metaEnvironment: UnsafeMutableEnvironment.MutableEnvironment?, baseContext: EnvironmentContext)
Content copied to clipboard
Functions
Link copied to clipboard
open override fun <T : Any> createInjector(identifier: Identifier<T>, onInjection: (T) -> Unit): Injector<T>
Content copied to clipboard
Link copied to clipboard