# CallHooks.afterCall property · @imqueue/datadog

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

Runs after the call. Publishes `error` when the response carries one, then always publishes `finish` so the span is closed either way.

**Signature:**

```typescript
afterCall: (req?: IMQRPCRequest, res?: any) => Promise<void>;
```

