MutableEnvironment
class MutableEnvironment(metaEnvironment: UnsafeMutableEnvironment.MutableEnvironment?, baseContext: EnvironmentContext) : InjectionEnvironment, ContextBuilderDsl
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
constructor(metaEnvironment: UnsafeMutableEnvironment.MutableEnvironment?, baseContext: EnvironmentContext)
Functions
Link copied to clipboard
open override fun <T : Any> createInjector(identifier: Identifier<T>, onInjection: (T) -> Unit): Injector<T>
Link copied to clipboard