Interface RpcMulticastResult<TReturn>

Return value type for multicast RPC calls, which contains the result from each client that executed the RPC.

interface RpcMulticastResult<TReturn> {
    connectionId: number;
    isSuccess: boolean;
    returnValue: TReturn;
}

Type Parameters

  • TReturn

Properties

connectionId: number

The target connection ID for the RPC call.

isSuccess: boolean

Determines if the call was a result.

returnValue: TReturn

The return value generated by the target.