onResponse property

ResponseHandler? onResponse
getter/setter pair

Invoked for a JSON-RPC response (a message with an id but no method), i.e. the peer's reply to a request this endpoint sent. Set by LspClient; left null by a pure server, which never issues requests.

Implementation

ResponseHandler? onResponse;