# remote() function · @imqueue/rpc

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

Creates a `@remote()` method decorator for client classes. The decorated method has the remote method name appended to its arguments and is then forwarded to `remoteCall()`. The returned decorator is dual-mode: it works both as a standard (TC39) and as a legacy (experimentalDecorators) method decorator.

**Signature:**

```typescript
export declare function remote(): any;
```
**Returns:**

any

a dual-mode method decorator

