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