package vcaml
OCaml bindings for the Neovim API
Install
Dune Dependency
Authors
Maintainers
Sources
vcaml-v0.16.0.tar.gz
sha256=dd123302c46af7ca6eda8a7806c78236fd217a8c73a2e1cd7da85f1d69ed1ae4
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)"
>