Module neovim.notifications
Interface NeovimNotificationHandler
-
- All Known Implementing Classes:
NeovimStreamNotificationHandler
public interface NeovimNotificationHandler
Represents a source of notifications coming from neovim. It separates notifications into multiple flows, and allows type safe access to these.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.Flow.Publisher<BufferEvent>
bufferEvents()
Passes down a publisher ofBufferEvent
objects receivedBufferEvent
is a special type of notification that is received when attached to a buffer in Neovim It will never completejava.util.concurrent.Flow.Publisher<NeovimRedrawEvent>
uiEvents()
Passes down a publisher ofNeovimRedrawEvent
objects receivedNeovimRedrawEvent
is a special type of notification that is received when attached to Neovim It will never complete
-
-
-
Method Detail
-
uiEvents
java.util.concurrent.Flow.Publisher<NeovimRedrawEvent> uiEvents()
Passes down a publisher ofNeovimRedrawEvent
objects receivedNeovimRedrawEvent
is a special type of notification that is received when attached to Neovim It will never complete- Returns:
Flow.Publisher
passing down ui events as they come
-
bufferEvents
java.util.concurrent.Flow.Publisher<BufferEvent> bufferEvents()
Passes down a publisher ofBufferEvent
objects receivedBufferEvent
is a special type of notification that is received when attached to a buffer in Neovim It will never complete- Returns:
Flow.Publisher
passing down buffer events as they come
-
-