Resolves a service within this scope.
The schema instance used as the service identifier.
The resolved service, typed as InferType<typeof schema>.
Resolves the dependencies described by a FunctionSchemaBuilder
and calls implementation with the resolved values. Scoped services
are resolved within this scope.
A FunctionSchemaBuilder whose parameters describe the services to inject.
A function whose parameters match the
funcSchema parameter types.
The return value of implementation.
A service provider scoped to a ServiceScope. Resolves scoped services from the scope's cache and singletons from the root cache.
This class is not instantiated directly — obtain it via
scope.serviceProvider.See
ServiceScope