RSX Code Reference
    Preparing search index...

    Type Alias RpcMethod<TArgs, TReturn>

    RpcMethod: (this: Component, ...args: TArgs) => Promise<TReturn>

    Type helper for RPC method scoped to NetRpcScope.Server and NetRpcScope.OwnerClient that enforces:

    • The method must be an instance method (not static) via the this: Component constraint
    • The method must return a Promise

    Type Parameters

    • TArgs extends any[]
    • TReturn

    Type Declaration