tuweni / org.apache.tuweni.scuttlebutt.rpc.mux / Multiplexer / makeAsyncRequest

makeAsyncRequest

abstract fun makeAsyncRequest(request: RPCAsyncRequest!): AsyncResult<RPCResponse!>! (source)

Issue an 'async' type request to a node, which will eventually return a result from the node.

Parameters

request - RPCAsyncRequest!: the request details

Exceptions

JsonProcessingException - if JSON marshalling fails.

Return
AsyncResult<RPCResponse!>!: an async result which will be completed with the result or an error if the request fails.