NAME

Neovim::Ext::MsgPack::RPC::Stream - Neovim::Ext::MsgPack::RPC::Stream class

VERSION

version 0.06

SYNOPSIS

use Neovim::Ext;

METHODS

run( \&message_cb )

Run the event loop to receive messages from Nvim. While the event loop is running, \&message_cb will be called whenever a message is received.

stop( )

Stop the event loop.

send( $msg )

Queue $msg for sending to Nvim.

close( )

Close the event loop.

create_future( )

Create a future.

await( $future )

Wait for $future to complete.