RpcInvocation Class

An RPC operation invocation in response to a request.

Methods

Name Description
constructor(protocol: RpcProtocol, request: SerializedRpcRequest): RpcInvocation Constructs an invocation.  
current(rpcImpl: RpcInterface): RpcInvocation Static The invocation for the current RPC operation.  

Properties

Name Type Description
elapsed Accessor ReadOnly number The elapsed time for this invocation.  
fulfillment Readonly Promise<RpcRequestFulfillment> The fulfillment for this request.  
operation Readonly RpcOperation The operation of the request.  
protocol Readonly RpcProtocol The protocol for this invocation.  
request Readonly SerializedRpcRequest The received request.  
result Readonly Promise<any> The implementation response.  
status Accessor ReadOnly RpcRequestStatus The status for this request.  

Defined in

Last Updated: 11 June, 2024