# IMQClientOptions.callTimeout property · @imqueue/rpc

Source: https://imqueue.org/api/rpc/latest/rpc.imqclientoptions.calltimeout/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/rpc 3.5.3 — generated reference, not hand-written

Per-call timeout in milliseconds.

**Signature:**

```typescript
callTimeout?: number;
```

## Remarks

When set to a positive number, every remote call that has not received a response within the given time — plus any requested [IMQDelay](https://imqueue.org/api/rpc/latest/rpc.imqdelay/) — is rejected with an `IMQ_RPC_CALL_TIMEOUT` error and its pending resolver is released. The internal timer is unref'd, so a pending call does not keep the process alive.

Unset by default, which means calls wait indefinitely and a hung or absent service keeps the caller's promise pending forever. Enabling it is recommended for production use.

