package command_rpc
-
command_rpc
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
include Async.Versioned_rpc.Callee_converts.Rpc.S
val implement_multi :
?log_not_previously_seen_version:(name:string -> int -> unit) ->
('state -> version:int -> query -> response Async_kernel.Deferred.t) ->
'state Async_rpc_kernel.Rpc.Implementation.t list
implement multiple versions at once
val rpcs : unit -> Async_rpc_kernel.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 query_of_sexp : Async.Sexp.t -> query
val sexp_of_response : response -> Async.Sexp.t
val implementation : Invocation.t -> query -> response Async.Deferred.t