Class Neovim::Session::EventLoop
In: lib/neovim/session/event_loop.rb
Parent: Object

The lowest level interface to reading from and writing to nvim.

@api private

Methods

child   new   run   shutdown   stdio   stop   tcp   unix   write  

Included Modules

Logging

Public Class methods

Spawn and connect to a child nvim process.

Connect to the current process‘s standard streams. This is used to promote the current process to a Ruby plugin host.

Connect to a TCP socket.

Connect to a UNIX domain socket.

Public Instance methods

Run the event loop, reading from the underlying IO and yielding received messages to the block.

Stop the event loop and close underlying +IO+s.

Stop the event loop.

Write data to the underlying IO. This will block until all the data has been written.

[Validate]