Skip to content

DependencyContainer.createScope

github-actions[bot] edited this page Dec 3, 2024 · 3 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:32.

Returns a scoped dependency resolver.

Clone this wiki locally