Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data ReactorMessage Source #
ReactorNotification (IO ()) | |
ReactorRequest SomeLspId (IO ()) (ResponseError -> IO ()) |
type ReactorChan = Chan ReactorMessage Source #
requestHandler :: forall (m :: Method FromClient Request) c. HasTracing (MessageParams m) => SMethod m -> (IdeState -> MessageParams m -> LspM c (Either ResponseError (ResponseResult m))) -> Handlers (ServerM c) Source #
notificationHandler :: forall (m :: Method FromClient Notification) c. HasTracing (MessageParams m) => SMethod m -> (IdeState -> VFS -> MessageParams m -> LspM c ()) -> Handlers (ServerM c) Source #