Persistent.RpcSourcetype '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 tval 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 tval create_async :
name:string ->
type_:'a Vcaml.Defun.Ocaml.Async.t ->
f:
('b ->
shutdown:(unit -> unit) ->
client:[ `connected ] Vcaml.Client.t ->
'a) ->
'b t