Skip to content

DependencyContainer.createScope

github-actions[bot] edited this page Feb 4, 2025 · 4 revisions
API / DependencyContainer / createScope method

Creates a scoped dependency resolver. All scoped configured dependencies are resolved for each scope individually, while singletons are unique from the scope that configured them downwards.

public createScope(): IDependencyResolver

Source reference: src/dependencies/DependencyContainer.ts:31.

Returns a scoped dependency resolver.

Clone this wiki locally