Copyright | (c) Sebastian Witte |
---|---|
License | Apache-2.0 |
Maintainer | [email protected] |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Neovim.Plugin.IPC.Internal
Description
- data RPCMessage
- data Request = Request {}
- data Notification = Notification {}
- module Data.Int
- module Data.Time
Documentation
data RPCMessage Source
Haskell representation of supported Remote Procedure Call messages.
Constructors
FunctionCall Text [Object] (TMVar (Either Object Object)) UTCTime | Method name, parameters, callback, timestamp |
Response !Int64 Object Object | Response sent to indicate the result of a function call.
|
NotificationCall Text [Object] | Method name and parameters. |
Instances
A request is a data type containing the method to call, its arguments and an identifier used to map the result to the function that has been called.
Constructors
Request | |
data Notification Source
A notification is similar to a Request
. It essentially does the same
thing, but the function is only called for its side effects. This type of
message is sent by neovim if the caller there does not care about the result
of the computation.
Constructors
Notification | |
Instances
module Data.Int
module Data.Time