# CallHooks.beforeCall property · @imqueue/datadog

Source: https://imqueue.org/api/datadog/latest/datadog.callhooks.beforecall/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/datadog 3.2.0 — generated reference, not hand-written

Runs before the call. Builds the call context, attaches it to the request, and publishes the `start` event. Returns immediately when the channel has no subscribers.

**Signature:**

```typescript
beforeCall: (req?: IMQRPCRequest, res?: any) => Promise<void>;
```

