package ojs_base

  1. Overview
  2. Docs

Module Rpc.Make_serverSource

Parameters

module P : B

Signature

Sourcetype app_server_msg = P.app_server_msg
Sourcetype app_client_msg = P.app_client_msg
Sourcetype t
Sourceval rpc_handler : (app_server_msg -> unit Lwt.t) -> t
Sourceval call : t -> app_server_msg -> (app_client_msg -> 'a Lwt.t) -> 'a Lwt.t
Sourceval return : t -> call_id -> app_server_msg -> unit Lwt.t
Sourceval on_return : t -> call_id -> app_client_msg -> unit