package ojs-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module P : B

Signature

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 -> call_id -> app_server_msg -> unit Lwt.t
val on_return : t -> call_id -> app_client_msg -> unit