Introduction
Migration
Appearance
import { context } from "@tsed/di";
See /packages/di/src/types/node/fn/context.ts.
function context<Ctx = DIContext>(): Ctx;
Get the current DIContext instance using async hook node.js api.
WARNING
This function isn't available in the browser context.