| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Ribosome.Host.Data.Event
Description
Events sent from Neovim to the host.
Documentation
The name of an event, which corresponds to the RPC method in the payload.
Constructors
| EventName | |
Fields
| |
Instances
| IsString EventName Source # | |
Defined in Ribosome.Host.Data.Event Methods fromString :: String -> EventName # | |
| Show EventName Source # | |
| Eq EventName Source # | |
| Ord EventName Source # | |
| MsgpackDecode EventName Source # | |
Defined in Ribosome.Host.Data.Event Methods fromMsgpack :: Object -> Either DecodeError EventName Source # | |
| MsgpackEncode EventName Source # | |
An event is an RPC notification sent by Neovim that is not intended to be dispatched to a named handler, but consumed in a broadcasting fashion.
Since they aren't marked as such, the host treats any notification with an unknown method name as an event.