Protocol.ProtocolServerinclude sig ... endinclude sig ... endtype t = private VSCodeDebugAdapter.tval t_of_js : Ojs.t -> tval t_to_js : t -> Ojs.tinclude sig ... endval dispose : t -> Interop.Js.Any.tval onDidSendMessage : t -> DebugProtocalMessage.t Event0.tval handleMessage : t -> msg:DebugProtocol.ProtocolMessage.t -> unitval start :
t ->
inStream:Node.Stream.Readable.t ->
outStream:Node.Stream.Writable.t ->
unitval stop : t -> unitval sendEvent : t -> event:DebugProtocol.Event.t -> unitval sendResponse : t -> response:DebugProtocol.Response.t -> unitval sendRequest :
t ->
command:string ->
args:'a ->
timeout:int ->
cb:(response:DebugProtocol.Response.t -> unit) ->
unitval dispatchRequest : t -> request:DebugProtocol.Request.t -> unit