RpcOperation.setDefaultPolicy Function

Decorator for setting the default policy for an RPC interface definition class.

setDefaultPolicy(policy: RpcOperationPolicy | Partial<RpcOperationPolicy>): (definition: RpcInterfaceDefinition<T>) => void

Parameter Type Description
policy RpcOperationPolicy | Partial<RpcOperationPolicy>  

Returns - (definition: RpcInterfaceDefinition<T>) => void

Defined in

Last Updated: 11 June, 2024