---
meta:
 - name: keywords
   description: api typescript node.js documentation bindContext function
---
# bindContext - @tsed/di

## Usage

```typescript
import { bindContext } from "@tsed/di";
```

> See [/packages/di/src/browser/utils/asyncHookContext.ts](https://github.com/tsedio/tsed/blob/v8.27.0/packages/di/src/browser/utils/asyncHookContext.ts#L0-L0).

## Overview

```ts
function bindContext(cb: any): any;
```
