async_js

A small library that provide Async support for JavaScript platforms
Library async_js
Module Async_js . Rpc . Stable . Pipe_rpc
type ('query, 'response, 'error) t = ( 'query, 'response, 'error ) Pipe_rpc.t
val create : ?client_pushes_back:unit -> name:string -> version:int -> bin_query:'query Bin_prot.Type_class.t -> bin_response:'response Bin_prot.Type_class.t -> bin_error:'error Bin_prot.Type_class.t -> unit -> ( 'query, 'response, 'error ) t
val description : ( _, _, _ ) t -> Description.t
val bin_query : ( 'query, _, _ ) t -> 'query Bin_prot.Type_class.t
val bin_response : ( _, 'response, _ ) t -> 'response Bin_prot.Type_class.t
val bin_error : ( _, _, 'error ) t -> 'error Bin_prot.Type_class.t