Resolves services without transferring ownership to the caller. Singleton ownership stays with the container; disposable transients belong to the ResourceScope associated with this resolver.
Resolves a service synchronously, creating it on first use according to its lifetime.
ServiceResolutionError when the token was never registered.
ServiceResolutionError after container disposal or on a runtime dependency cycle.
AsyncCallbackError when a factory returns a thenable.
Resolves services without transferring ownership to the caller. Singleton ownership stays with the container; disposable transients belong to the ResourceScope associated with this resolver.