ojs_base.server
Make.Rpc
ojs_base
ojs_base.js
type app_server_msg = P.app_server_msg
type app_client_msg = P.app_client_msg
type t
val rpc_handler : (app_server_msg -> unit Lwt.t) -> t
val call : t -> app_server_msg -> (app_client_msg -> 'a Lwt.t) -> 'a Lwt.t
val return : t -> Ojs_base.Rpc.call_id -> app_server_msg -> unit Lwt.t
val on_return : t -> Ojs_base.Rpc.call_id -> app_client_msg -> unit