package vcaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'state t =
  1. | Sync_rpc : {
    1. name : string;
    2. type_ : ('fn, 'leftmost) Vcaml.Defun.Ocaml.Sync.t;
    3. f : 'state -> shutdown:(unit -> unit) -> keyboard_interrupted:unit Async.Deferred.t -> client:[ `connected ] Vcaml.Client.t -> 'fn;
    } -> 'state t
  2. | Async_rpc : {
    1. name : string;
    2. type_ : 'fn Vcaml.Defun.Ocaml.Async.t;
    3. f : 'state -> shutdown:(unit -> unit) -> client:[ `connected ] Vcaml.Client.t -> 'fn;
    } -> 'state t
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
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
OCaml

Innovation. Community. Security.