package async_rpc_kernel
Module type One_way.S
(conv) (conv)
caller callee
| |
| |
M.caller ---->-- M1 -->-. (impl)
\ \ callee
\--->-- M2 -->---\ |
\ \ |
`->-- M3 -->---- M.callee --> unitval dispatch_multi :
Connection_with_menu.t ->
caller_msg ->
unit Core.Or_error.tmulti-version dispatch
val implement_multi :
?log_not_previously_seen_version:(name:string -> int -> unit) ->
('state -> version:int -> callee_msg -> unit) ->
'state Rpc.Implementation.t listimplement multiple versions at once
val rpcs : unit -> Rpc.Any.t listAll supported rpcs.
val versions : unit -> Core.Int.Set.tAll supported versions. Useful for detecting old versions that may be pruned.