Module Rpc.State_rpc

type ('query, 'state, 'update, 'error) t
module Id : sig ... end
module Metadata : sig ... end
val create : ?⁠client_pushes_back:unit -> name:string -> version:int -> bin_query:'query Bin_prot.Type_class.t -> bin_state:'state Bin_prot.Type_class.t -> bin_update:'update Bin_prot.Type_class.t -> bin_error:'error Bin_prot.Type_class.t -> unit -> ('query'state'update'error) t
val bin_query : ('query___) t -> 'query Bin_prot.Type_class.t
val bin_state : (_'state__) t -> 'state Bin_prot.Type_class.t
val bin_update : (__'update_) t -> 'update Bin_prot.Type_class.t
val bin_error : (___'error) t -> 'error Bin_prot.Type_class.t
val implement : ('query'state'update'error) t -> ('connection_state -> 'query -> ('state * 'update Async_kernel.Pipe.Reader.t'error) Core_kernel.Result.t Async_kernel.Deferred.t) -> 'connection_state Async_rpc_kernel__Rpc.Implementation.t
val dispatch : ('query'state'update'error) t -> Async_rpc_kernel__Rpc.Connection.t -> 'query -> ('state * 'update Async_kernel.Pipe.Reader.t * Metadata.t'error) Core_kernel.Result.t Core_kernel.Or_error.t Async_kernel.Deferred.t
val abort : (____) t -> Async_rpc_kernel__Rpc.Connection.t -> Id.t -> unit
val close_reason : Metadata.t -> Async_rpc_kernel__Rpc.Pipe_close_reason.t Async_kernel.Deferred.t
val client_pushes_back : (____) t -> bool
val name : (____) t -> string
val version : (____) t -> int
val description : (____) t -> Async_rpc_kernel__Rpc.Description.t