RpcOperation.setPolicy Function

Decorator for setting the policy for an RPC operation function.

setPolicy(policy: RpcOperationPolicy | Partial<RpcOperationPolicy>): (target: T, propertyKey: string, descriptor: PropertyDescriptor) => void

Parameter Type Description
policy RpcOperationPolicy | Partial<RpcOperationPolicy>  

Returns - (target: T, propertyKey: string, descriptor: PropertyDescriptor) => void

Defined in

Last Updated: 12 June, 2024