RPCProcessor.awaitResponse

Waits for a response message to a request from the other RPC side.

If this is called after the response has already been sent and processed by yielding after sending the request, this will yield forever and use up memory.

So it is important, if you are going to await a response, to do it immediately when sending any request.

class RPCProcessor
awaitResponse
(,
Duration timeout = Duration.max
)

Meta