sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Jsonrpc2.MakeSourceA jsonrpc2 connection.
include sig ... endtype server_request_handler_pair = | Request_and_handler : 'from_server Lsp.Server_request.t
* (('from_server, Jsonrpc.Response.Error.t) result ->
unit IO.t) -> server_request_handler_pairclass notify_back : notify_back:(Lsp.Server_notification.t ->
unit IO.t) -> server_request:(server_request_handler_pair ->
Req_id.t IO.t) -> workDoneToken:[ `Int of int | `String of string ] option -> partialResultToken:'a -> ?version:
int -> ?uri:Lsp.Types.DocumentUri.t -> unit -> object ... endtype nonrec doc_state = {uri : Lsp.Types.DocumentUri.t;languageId : string;version : int;content : string;}val create :
?on_received:(json -> unit) ->
?on_sent:(json -> unit) ->
ic:IO.in_channel ->
oc:IO.out_channel ->
server ->
tCreate a connection from the pair of channels
val create_stdio :
?on_received:(json -> unit) ->
?on_sent:(json -> unit) ->
env:IO.env ->
server ->
tCreate a connection using stdin/stdout
Send a notification from the server.