Module type Command.T_state_conv_bin_io_only

type query
type initial_state
type update
type error
type state
include Async.Versioned_rpc.Callee_converts.State_rpc.S with type query := query with type state := initial_state with type update := update with type error := error
type query
type state
type update
type error
val implement_multi : ?⁠log_not_previously_seen_version:(name:string -> int -> unit) -> ('connection_state -> version:int -> query -> (state * update Async_kernel.Pipe.Reader.terror) Core_kernel.Result.t Async_kernel.Deferred.t) -> 'connection_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 supported by implement_multi. (useful for computing which old versions may be pruned)

val name : string
val implementation : state -> query -> (initial_state * update Async.Pipe.Reader.terror) Core.Result.t Async.Deferred.t