Skip to content

LocalsContainer

@tsed/di

Usage

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

See /packages/di/src/types/common/domain/LocalsContainer.ts.

Overview

ts
class LocalsContainer extends Map<TokenProvider, any> {
    readonly hooks: Hooks;
    destroy(): Promise<void>;
}

readonly hooks

ts
readonly hooks: Hooks;

destroy

ts
destroy(): Promise<void>;

Released under the MIT License.