package dap
Debug adapter protocol
Install
Dune Dependency
Authors
Maintainers
Sources
dap-1.0.6.tbz
sha256=e0b249a3e7382125402ad15d71f4924eef60cfcec326383a5168d424087200ff
sha512=97805a383ad03ba24f1dabe20798c139678f958dfa2aed1664098f444aaeefd56d6dd7ff3650800eaefe5b17e09098427b78500316699e7267eb1fef233d6a99
doc/dap.rpc_lwt/Debug_rpc/index.html
Module Debug_rpc
Source
The type of rpc connection
Source
val create :
in_:Lwt_io.input_channel ->
out:Lwt_io.output_channel ->
?next_seq:int ->
unit ->
t
create ~in_ ~out ?next_seq ()
Create a rpc connection
event rpc (module The_event)
Get a The_event.Payload.t React.E.t
for opposite end sent events
Source
val send_event :
t ->
(module Debug_protocol.EVENT with type Payload.t = 'a) ->
'a ->
unit Lwt.t
send_event rpc (module The_event) payload
Send event with payload
to the opposite end
Source
val set_progressive_command_handler :
t ->
(module Debug_protocol.COMMAND
with type Arguments.t = 'a
and type Result.t = 'b) ->
('a -> progress -> 'b Lwt.t) ->
unit
set_command_handler rpc (module The_command) f
Set handler f
for The_command
Source
val set_command_handler :
t ->
(module Debug_protocol.COMMAND
with type Arguments.t = 'a
and type Result.t = 'b) ->
('a -> 'b Lwt.t) ->
unit
set_command_handler rpc (module The_command) f
Set handler f
for The_command
remove_command_handler rpc (module The_command)
Remove handler for The_command
Source
val exec_command :
t ->
(module Debug_protocol.COMMAND
with type Arguments.t = 'a
and type Result.t = 'b) ->
'a ->
'b Lwt.t
exec_command rpc (module The_command) arg
Execute The_command
with arg
on the opposite end.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>