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
Modifier and TypeMethodDescriptionPasses down a publisher ofBufferEventobjects receivedBufferEventis a special type of notification that is received when attached to a buffer in Neovim It will never completePasses down a publisher ofGlobalEventobjects receivedGlobalEventis a superclass of all general nvim notifications It will never completeuiEvents()Passes down a publisher ofNeovimRedrawEventobjects receivedNeovimRedrawEventis a special type of notification that is received when attached to Neovim It will never complete
-
Method Details
-
uiEvents
Flow.Publisher<NeovimRedrawEvent> uiEvents()Passes down a publisher ofNeovimRedrawEventobjects receivedNeovimRedrawEventis a special type of notification that is received when attached to Neovim It will never complete- Returns:
Flow.Publisherpassing down ui events as they come
-
bufferEvents
Flow.Publisher<BufferEvent> bufferEvents()Passes down a publisher ofBufferEventobjects receivedBufferEventis a special type of notification that is received when attached to a buffer in Neovim It will never complete- Returns:
Flow.Publisherpassing down buffer events as they come
-
globalEvents
Flow.Publisher<GlobalEvent> globalEvents()Passes down a publisher ofGlobalEventobjects receivedGlobalEventis a superclass of all general nvim notifications It will never complete- Returns:
Flow.Publisherpassing down global events as they come
-