# IMQCallHooks.wrapCall property · @imqueue/opentelemetry

Source: https://imqueue.org/api/opentelemetry/latest/opentelemetry.imqcallhooks.wrapcall/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/opentelemetry 4.0.0 — generated reference, not hand-written

Wraps a service's handling of a request — an around-hook receiving a `next` callback. Used instead of a before/after pair so the handler can run INSIDE the SERVER span's context, which is what makes spans created downstream nest under it.

**Signature:**

```typescript
wrapCall?: Function;
```

