# LockOptions interface · @imqueue/rpc

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

Options for the [lock()](https://imqueue.org/api/rpc/latest/rpc.lock/) decorator.

**Signature:**

```typescript
export interface LockOptions 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [disabled?](https://imqueue.org/api/rpc/latest/rpc.lockoptions.disabled/) |  | boolean | _(Optional)_ Set to `true` to turn locking off for the decorated method. |
| [skipArgs?](https://imqueue.org/api/rpc/latest/rpc.lockoptions.skipargs/) |  | number\[\] | _(Optional)_ Positional indices of arguments to exclude when computing the lock key — useful for request-context or callback arguments that must not affect similarity. |

