async_rpc_kernel

Platform-independent core of Async RPC library
IN THIS PACKAGE

Parameters

module Model : sig ... end

Signature

module Register (Version : sig ... end) : sig ... end
include S with type caller_query := Model.Caller.query with type caller_response := Model.Caller.response with type callee_query := Model.Callee.query with type callee_response := Model.Callee.response
val implement_multi : ?log_not_previously_seen_version:( name:string -> int -> unit ) -> ( 'state -> version:int -> Model.Callee.query -> Model.Callee.response Async_kernel.Deferred.t ) -> 'state Rpc.Implementation.t list

implement multiple versions at once

val rpcs : unit -> 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.

val name : string