The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

version 0.05

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.