ComposedInjector

public struct ComposedInjector<K> : InjectorDerivingFromMutableInjector where K : Hashable

Wraps two given MutableInjectors into one. By default all operations will be first delegated to ComposedInjector.left and thereafter to ComposedInjector.right. May throw ComposedInjectionError as InjectionError.customError. If a reference typed MutableInjector will be used, a copy will be created on ComposedInjector.provide(key:usingFactory:), but there won’t be created a copy on ComposedInjector.init(left:right:).