package vcaml
OCaml bindings for the Neovim API
Install
Dune Dependency
Authors
Maintainers
Sources
vcaml-v0.15.0.tar.gz
sha256=0dbf2526a24d838988ae9a327550fdd9f0328dbdca9d026430fb4b579e0e0442
doc/vcaml.plugin/Vcaml_plugin/Persistent/Rpc/index.html
Module Persistent.Rpc
Source
Source
type 'state t =
| Sync_rpc : {
name : string;
type_ : ('fn, 'leftmost) Vcaml.Defun.Ocaml.Sync.t;
f : 'state -> shutdown:(unit -> unit) -> keyboard_interrupted:unit Async.Deferred.t -> client:[ `connected ] Vcaml.Client.t -> 'fn;
} -> 'state t
| Async_rpc : {
name : string;
type_ : 'fn Vcaml.Defun.Ocaml.Async.t;
f : 'state -> shutdown:(unit -> unit) -> client:[ `connected ] Vcaml.Client.t -> 'fn;
} -> 'state t
Source
val create_sync :
name:string ->
type_:('a, 'b) Vcaml.Defun.Ocaml.Sync.t ->
f:
('c ->
shutdown:(unit -> unit) ->
keyboard_interrupted:unit Async.Deferred.t ->
client:[ `connected ] Vcaml.Client.t ->
'a) ->
'c t
Source
val create_async :
name:string ->
type_:'a Vcaml.Defun.Ocaml.Async.t ->
f:
('b ->
shutdown:(unit -> unit) ->
client:[ `connected ] Vcaml.Client.t ->
'a) ->
'b t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>