Skip to content

detachLocalsContainer

@tsed/di

Usage

typescript
import { detachLocalsContainer } from "@tsed/di";

See /packages/di/src/common/fn/localsContainer.ts.

Overview

ts
function detachLocalsContainer(): void;

Description

Detach and stage the current locals container.

Removes the global locals reference and saves it for cleanup. Used internally to manage request scope lifecycle.

Released under the MIT License.