package rpclib-async

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

Server generator similar to Idl.GenServer that uses Async.Deferred.

Parameters

Signature

include Idl.RPC with type implementation = server_implementation and type 'a res = 'a -> unit and type ('a, 'b) comp = ('a, 'b) T.resultb
type implementation = server_implementation
val implement : Idl.Interface.description -> implementation
type !'a res = 'a -> unit
type ('a, 'b) comp = ('a, 'b) T.resultb
type _ fn
val (@->) : 'a Idl.Param.t -> 'b fn -> ('a -> 'b) fn
val noargs : 'b fn -> (unit -> 'b) fn
val returning : 'a Idl.Param.t -> 'b Idl.Error.t -> ('a, 'b) comp fn
val declare : string -> string list -> 'a fn -> 'a res
val declare_notification : string -> string list -> 'a fn -> 'a res
OCaml

Innovation. Community. Security.