module type S =sig
..end
type
query
type
response
type
error
The return type varies slightly from Rpc.Pipe_rpc.dispatch
to make it clear
that conversion of each individual element in the returned pipe may fail.
val deprecated_dispatch_multi : version:int ->
Rpc.Connection.t ->
query ->
(response Core.Std.Or_error.t
Import.Pipe.Reader.t * Rpc.Pipe_rpc.Id.t,
error)
Core.Std.Result.t Core.Std.Or_error.t Import.Deferred.t
val dispatch_multi : Versioned_rpc.Connection_with_menu.t ->
query ->
(response Core.Std.Or_error.t
Import.Pipe.Reader.t * Rpc.Pipe_rpc.Id.t,
error)
Core.Std.Result.t Core.Std.Or_error.t Import.Deferred.t
val versions : unit -> Core.Std.Int.Set.t
dispatch_multi
.
(useful for computing which old versions may be pruned)