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 !'a0 res = 'a -> unit
type ('a0, 'b0) comp = ('a, 'b) T.resultb
type _ fn
val (@->) : 'a Idl.Param.t -> 'b fn -> ('a -> '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.