remote() function

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:

export declare function remote(): any;

Returns:

any

a dual-mode method decorator

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.