ResolverScopeShare
public final class ResolverScopeShare: ResolverScope
Shared services persist while strong references to them exist. They’re then deallocated until the next resolve.
-
Declaration
Swift
public final func resolve<Service>(resolver: Resolver, registration: ResolverRegistration<Service>, args: Any?) -> Service?