Vscode_languageclient.LanguageClient
val make :
id:string ->
name:string ->
serverOptions:ServerOptions.t ->
clientOptions:ClientOptions.t ->
?forceDebug:bool ->
unit ->
t
val from_stream :
id:string ->
name:string ->
(unit -> StreamInfo.t Promise.t) ->
t
val start : t -> unit Promise.t
val isRunning : t -> bool
val stop : t -> unit Promise.t
val initializeResult : t -> InitializeResult.t
val sendRequest :
t ->
meth:string ->
data:Jsonoo.t ->
?token:Vscode.CancellationToken.t ->
unit ->
Jsonoo.t Promise.t
val registerFeature : t -> feature:StaticFeature.t -> unit
val sendNotification : t -> string -> Ojs.t -> unit