---
url: /api/di/types/node/utils/function-bind-context.md
description: api documentation of bindContext from @tsed/di
---

## Usage

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

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

## Overview

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