You're viewing archived documentation for @imqueue/rpc v1.17.1. APIs may differ from the current release. View the latest version ↗

remote() function

Implements '@remote' decorator factory

{( target: any, methodName: (string), descriptor: TypedPropertyDescriptor<(...args: any[]) => any> ) => void}

Signature:

export declare function remote(): (target: any, methodName: string, descriptor: TypedPropertyDescriptor<(...args: any[]) => any>) => void;

Returns:

(target: any, methodName: string, descriptor: TypedPropertyDescriptor<(...args: any[]) => any>) => void