| Class | Neovim::Session::RPC |
| In: |
lib/neovim/session/rpc.rb
|
| Parent: | Object |
Handles formatting RPC requests and writing them to the Serializer. This exposes an asynchronous API, in which responses are handled in callbacks.
@api private
| serializer | [R] |
Run the event loop, yielding received RPC messages to the block. RPC requests and notifications from nvim will be wrapped in Request and Notification objects, respectively, and responses will be passed to their callbacks with optional errors.