async_rpc_kernel

Platform-independent core of Async RPC library
IN THIS PACKAGE

Parameters

module Model : sig ... end

Signature

module Register (Version_i : sig ... end) : sig ... end

Add a new version to the set of versions implemented by implement_multi.

include S with type query := Model.query with type response := Model.response
val implement_multi : ?log_not_previously_seen_version:( name:string -> int -> unit ) -> ( 'state -> version:int -> Model.query -> Model.response Async_kernel.Deferred.t ) -> 'state Rpc.Implementation.t list

implement multiple versions at once

val rpcs : unit -> Rpc.Any.t list

All rpcs implemented by implement_multi

val versions : unit -> Core_kernel.Int.Set.t

All versions implemented by implement_multi. (useful for computing which old versions may be pruned)

val name : string